/* ----------------------------------------------------
   NODE COFFEE Design System & Stylesheet
   ---------------------------------------------------- */

:root {
  /* Color Palette */
  --color-espresso: #2B1A17;
  --color-espresso-light: #442E29;
  --color-espresso-dark: #1E110F;
  --color-gold: #C59B73;
  --color-gold-hover: #A77E59;
  --color-gold-rgb: 197, 155, 115;
  --color-ivory: #FAF7F2;
  --color-ivory-dark: #F2ECE0;
  --color-white: #FFFFFF;
  --color-text-dark: #231614;
  --color-text-muted: #6E5C59;
  
  /* Glassmorphism settings */
  --glass-bg: rgba(250, 247, 242, 0.75);
  --glass-border: rgba(197, 155, 115, 0.25);
  --glass-shadow: 0 8px 32px 0 rgba(43, 26, 23, 0.04);
  
  /* Fonts */
  --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
  --font-body: 'Noto Sans KR', 'Outfit', sans-serif;
  
  /* Transitions & Animation Timings */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset & General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-ivory);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
}

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

button, input, select, textarea {
  font-family: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
  background: none;
}

ul {
  list-style: none;
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-ivory);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-hover);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.max-w-lg {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.grid-2-equal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

/* Typography & Accent Text */
.text-gradient {
  background: linear-gradient(135deg, var(--color-espresso) 0%, var(--color-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--color-espresso);
  margin-bottom: 24px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 48px;
}

.paragraph {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.paragraph.accent-p {
  font-size: 1.25rem;
  color: var(--color-espresso);
  font-weight: 500;
  line-height: 1.6;
}

.paragraph.highlight-p {
  color: var(--color-espresso-light);
  font-weight: 700;
  border-left: 3px solid var(--color-gold);
  padding-left: 16px;
  margin: 30px 0;
}

/* Buttons */
.btn-primary-sm, .btn-primary, .btn-secondary, .btn-gold, .btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50px;
  transition: var(--transition-medium);
  font-family: var(--font-heading);
}

.btn-primary-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
  background-color: var(--color-espresso);
  color: var(--color-ivory);
}
.btn-primary-sm:hover {
  background-color: var(--color-gold);
  transform: translateY(-2px);
}

.btn-primary {
  padding: 16px 36px;
  font-size: 1rem;
  background-color: var(--color-espresso);
  color: var(--color-ivory);
  box-shadow: 0 10px 20px rgba(43, 26, 23, 0.15);
}
.btn-primary:hover {
  background-color: var(--color-gold);
  color: var(--color-espresso);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(197, 155, 115, 0.2);
}

.btn-secondary {
  padding: 16px 36px;
  font-size: 1rem;
  background-color: transparent;
  color: var(--color-espresso);
  border: 1px solid rgba(43, 26, 23, 0.2);
}
.btn-secondary:hover {
  background-color: rgba(43, 26, 23, 0.05);
  border-color: var(--color-espresso);
  transform: translateY(-3px);
}

.btn-gold {
  padding: 18px 44px;
  font-size: 1.05rem;
  background-color: var(--color-gold);
  color: var(--color-espresso);
  box-shadow: 0 10px 25px rgba(197, 155, 115, 0.2);
}
.btn-gold:hover {
  background-color: var(--color-espresso);
  color: var(--color-ivory);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(43, 26, 23, 0.2);
}

/* Glassmorphic Base */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 24px;
  transition: var(--transition-smooth);
}
.glass-card:hover {
  border-color: rgba(197, 155, 115, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(43, 26, 23, 0.08);
}

/* Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(to right, var(--color-gold), var(--color-espresso));
  z-index: 1000;
  transition: width 0.1s ease;
}

/* Header Styles */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 82px;
  z-index: 99;
  display: flex;
  align-items: center;
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(197, 155, 115, 0.3);
  box-shadow: 0 4px 25px rgba(43, 26, 23, 0.06);
  transition: var(--transition-smooth);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand logo image */
.logo {
  display: flex;
  align-items: center;
}
.brand-logo {
  display: block;
  width: auto;
  transition: transform 0.3s ease;
}

.header-logo {
  height: 46px;
}

.card-logo {
  height: 44px;
}

.footer-logo {
  height: 58px;
  margin-bottom: 20px;
}

.logo:hover .brand-logo {
  transform: scale(1.03);
}

/* Desktop Nav links */
.desktop-nav ul {
  display: flex;
  gap: 36px;
}
.desktop-nav a {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-espresso);
  position: relative;
}
.desktop-nav a:hover {
  color: var(--color-gold);
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--color-gold);
  transition: var(--transition-medium);
}
.desktop-nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 101;
}
.mobile-menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-espresso);
  border-radius: 2px;
  transition: var(--transition-medium);
}

/* Shrink header animation on scroll (native where supported) */
@keyframes shrink {
  to {
    height: 70px;
    background-color: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--glass-border);
    box-shadow: 0 4px 30px rgba(43, 26, 23, 0.05);
  }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  #site-header {
    animation: shrink auto linear both;
    animation-timeline: scroll(block root);
    animation-range: 0px 100px;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100%;
  background-color: var(--color-ivory);
  z-index: 100;
  box-shadow: -10px 0 30px rgba(43, 26, 23, 0.05);
  padding: 120px 32px 40px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.mobile-drawer.open {
  right: 0;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: auto;
}
.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-espresso);
}
.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.btn-primary-mobile, .btn-secondary-mobile {
  width: 100%;
  padding: 14px;
  border-radius: 30px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
}
.btn-primary-mobile {
  background-color: var(--color-espresso);
  color: var(--color-ivory);
}
.btn-secondary-mobile {
  background-color: transparent;
  color: var(--color-espresso);
  border: 1px solid rgba(43, 26, 23, 0.2);
}

/* Active Hamburger State */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-espresso-dark);
  color: #FFFFFF;
}

.hero-background-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.6) contrast(1.1);
  transform: scale(1.03);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(18, 9, 7, 0.9) 0%, rgba(30, 16, 13, 0.65) 55%, rgba(18, 9, 7, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin-top: 60px;
}

.hero-content .badge {
  display: inline-block;
  background-color: rgba(197, 155, 115, 0.25);
  border: 1px solid rgba(235, 184, 126, 0.6);
  color: #F8D3A2;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  margin-bottom: 24px;
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: #FFFFFF;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-highlight {
  color: #F8D3A2;
  background: linear-gradient(135deg, #FFF6E9 0%, #F8D3A2 45%, #E5A96E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.8));
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #F8D3A2;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 42px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-actions .btn-secondary {
  color: var(--color-ivory);
  border-color: rgba(250, 247, 242, 0.3);
}
.hero-actions .btn-secondary:hover {
  background-color: rgba(250, 247, 242, 0.1);
  border-color: var(--color-ivory);
}

/* Hero Animated Grid Background SVG overlay */
.hero-grid-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
}

.grid-path-1, .grid-path-2 {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawLine 6s ease forwards infinite;
}

.grid-path-2 {
  animation-delay: 2s;
}

.grid-node-1, .grid-node-2 {
  opacity: 0;
  animation: pulseNode 3s infinite alternate;
}
.grid-node-1 { animation-delay: 2.5s; }
.grid-node-2 { animation-delay: 4.5s; }

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulseNode {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.4;
    transform: scale(1.3);
  }
}

/* Scroll Mouse Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(250, 247, 242, 0.5);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-gold);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.5s infinite;
}

.scroll-text {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: rgba(250, 247, 242, 0.6);
  font-weight: 700;
}

@keyframes scrollWheel {
  0% {
    top: 6px;
    opacity: 1;
  }
  100% {
    top: 20px;
    opacity: 0;
  }
}

/* Brand Story Section */
.brand-story-section {
  padding: 120px 0;
  background-color: var(--color-ivory);
  position: relative;
  z-index: 5;
}

.brand-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.interactive-node-box {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 400px;
}

.brand-glass {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 2;
  position: relative;
  background: rgba(250, 247, 242, 0.55);
}

.glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(197,155,115,0.18) 0%, rgba(197,155,115,0) 70%);
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}

/* SVG Connection Design */
.connections-interactive-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pulse-node {
  animation: centerPulse 3s infinite alternate;
}

.orbit-1 {
  transform-origin: 200px 200px;
  animation: spin 30s linear infinite;
}

.outer-node-g {
  transition: transform 0.4s ease;
  cursor: pointer;
}
.outer-node-g:hover {
  transform: scale(1.15);
}
.outer-node-g circle {
  transition: fill 0.3s ease, stroke 0.3s ease;
}
.outer-node-g:hover circle {
  fill: var(--color-gold);
  stroke: var(--color-espresso);
}

.svg-node-text {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  fill: var(--color-text-muted);
  transition: fill 0.3s ease;
}
.outer-node-g:hover .svg-node-text {
  fill: var(--color-espresso);
}

.svg-center-text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  fill: var(--color-gold);
  letter-spacing: 2px;
}

/* Connection Lines Anim */
.conn-line-1, .conn-line-2, .conn-line-3, .conn-line-4 {
  stroke-dasharray: 250;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.5s ease;
}

@keyframes centerPulse {
  0% { r: 12; fill: var(--color-gold); }
  100% { r: 18; fill: var(--color-espresso); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Connections Section */
.connections-section {
  padding: 120px 0;
  background-color: var(--color-ivory-dark);
}

.connections-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.connection-card {
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-icon-wrapper {
  color: var(--color-gold);
  margin-bottom: 24px;
  display: inline-flex;
  transition: var(--transition-medium);
}
.connection-card:hover .card-icon-wrapper {
  color: var(--color-espresso);
  transform: scale(1.1) rotate(5deg);
}

.card-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(197, 155, 115, 0.12);
  position: absolute;
  top: 24px;
  right: 36px;
  line-height: 1;
}

.connection-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-espresso);
  margin-bottom: 6px;
}

.connection-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.connection-card p {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-top: auto;
}

.card-link-effect {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 4px;
  background-color: var(--color-gold);
  transition: var(--transition-medium);
}
.connection-card:hover .card-link-effect {
  width: 100%;
}

/* Business Section */
.business-section {
  padding: 120px 0;
  background-color: var(--color-ivory);
}

.business-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 60px;
}

.business-card-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.business-card-wrap.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.business-card-wrap.reverse .business-image-box {
  order: 2;
}
.business-card-wrap.reverse .business-text-box {
  order: 1;
}

.business-image-box {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(43, 26, 23, 0.08);
  height: 380px;
  transition: var(--transition-smooth);
}
.business-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.business-card-wrap:hover .business-image-box img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(43, 26, 23, 0.4) 0%, rgba(43, 26, 23, 0) 60%);
}

.business-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: rgba(250, 247, 242, 0.9);
  padding: 8px 16px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-espresso);
  letter-spacing: 1px;
}

.business-text-box h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-espresso);
  margin-bottom: 20px;
}

.business-text-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.business-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.business-features li {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--color-text-dark);
  display: flex;
  align-items: center;
}

.bullet-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-gold);
  border-radius: 50%;
  margin-right: 12px;
}

/* Outro Banner */
.outro-section {
  padding: 100px 0;
  background-color: var(--color-espresso);
  background-image: radial-gradient(circle at 20% 80%, rgba(197, 155, 115, 0.08) 0%, transparent 60%);
  color: var(--color-ivory);
  position: relative;
  overflow: hidden;
}

.outro-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 24px;
}

.outro-text {
  font-size: 1.1rem;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Us Section */
.contact-section {
  padding: 120px 0;
  background-color: var(--color-ivory-dark);
}

.contact-info-panel {
  padding-right: 20px;
}

.contact-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

/* Business Card Display */
.business-card-display {
  padding: 36px;
  background: var(--color-ivory);
  border: 1px solid rgba(197, 155, 115, 0.3);
  box-shadow: 0 15px 40px rgba(43, 26, 23, 0.05);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 280px;
  max-width: 480px;
  transition: var(--transition-smooth);
}
.business-card-display:hover {
  transform: translateY(-8px) rotate(-1deg);
  border-color: var(--color-gold);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.card-logo {
  height: 40px;
  width: auto;
}
.card-comp {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.card-middle {
  margin: 24px 0;
}
.ceo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-espresso);
  letter-spacing: 4px;
}
.ceo-name .position {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0;
  margin-left: 8px;
}

.card-bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-row {
  display: flex;
  font-size: 0.85rem;
}
.info-row .label {
  font-weight: 700;
  color: var(--color-gold);
  width: 65px;
}
.info-row .value {
  color: var(--color-text-dark);
  font-weight: 500;
}
.info-row .value.text-sm {
  font-size: 0.8rem;
}
.info-row a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* Contact Form Panel */
.contact-form-panel {
  position: relative;
}

.contact-form-panel form {
  padding: 48px 40px;
  background-color: var(--color-white);
  border-color: rgba(197, 155, 115, 0.15);
}

.form-title-group {
  margin-bottom: 32px;
}
.form-title-group h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-espresso);
  margin-bottom: 8px;
}
.form-title-group p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-espresso-light);
  margin-bottom: 8px;
}
.form-group label .required {
  color: var(--color-gold);
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  background-color: var(--color-ivory);
  border: 1px solid rgba(43, 26, 23, 0.08);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(197, 155, 115, 0.12);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(110, 92, 89, 0.5);
  font-size: 0.9rem;
}

/* Form validation styling */
.form-group .error-msg {
  position: absolute;
  bottom: -18px;
  left: 4px;
  font-size: 0.78rem;
  color: #d93829;
  font-weight: 500;
  display: none;
}

.form-group.invalid input, .form-group.invalid select, .form-group.invalid textarea {
  border-color: #d93829;
  background-color: rgba(217, 56, 41, 0.02);
}
.form-group.invalid .error-msg {
  display: block;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background-color: var(--color-espresso);
  color: var(--color-ivory);
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(43, 26, 23, 0.15);
  gap: 8px;
}
.btn-submit:hover {
  background-color: var(--color-gold);
  color: var(--color-espresso);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(197, 155, 115, 0.2);
}
.arrow-icon {
  transition: transform 0.3s ease;
}
.btn-submit:hover .arrow-icon {
  transform: translateX(4px);
}

/* Success Card */
.success-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 48px;
  background-color: var(--color-white);
  border-color: var(--color-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
  border-radius: 24px;
  transition: var(--transition-smooth);
}

.success-card.hide {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.success-icon-wrapper {
  margin-bottom: 24px;
  animation: bounce 1s infinite alternate;
}

.success-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-espresso);
  margin-bottom: 12px;
}
.success-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-close-alert {
  padding: 12px 32px;
  background-color: var(--color-espresso);
  color: var(--color-ivory);
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
}
.btn-close-alert:hover {
  background-color: var(--color-gold);
  color: var(--color-espresso);
}

@keyframes bounce {
  to { transform: translateY(-8px); }
}

/* Footer */
.site-footer {
  background-color: var(--color-espresso-dark);
  color: rgba(250, 247, 242, 0.6);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(197, 155, 115, 0.15);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .footer-logo {
  height: 54px;
  width: auto;
  margin-bottom: 16px;
}
.footer-slogan {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  text-transform: uppercase;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-ivory);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a:hover {
  color: var(--color-gold);
}

.footer-contact p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-contact a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 30px;
  text-align: center;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(250, 247, 242, 0.4);
}

/* Scroll Entry/Exit Animations (Fade-in-up classes) */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* Section Reveal Reveal classes trigger on scroll */
.reveal-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsiveness (Breakpoints) */

@media (max-width: 992px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .brand-visual {
    order: -1;
  }
  
  .grid-2-equal {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .connections-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .business-card-wrap, .business-card-wrap.reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .business-card-wrap.reverse .business-image-box {
    order: 0;
  }
  
  .business-card-wrap.reverse .business-text-box {
    order: 0;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .header-logo {
    height: 38px;
  }

  #site-header {
    height: 70px;
    background-color: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
  }
  
  .desktop-nav {
    display: none;
  }
  
  .header-actions .btn-primary-sm {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .outro-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions a {
    width: 100%;
  }
  
  .business-image-box {
    height: 260px;
  }
  
  .business-card-display {
    padding: 24px;
    height: auto;
  }
  
  .contact-form-panel form {
    padding: 32px 20px;
  }
}

/* Contact form: server-side error banner */
.form-error-banner {
  background: #FBEDEC;
  border: 1px solid #EFC9C5;
  color: #B3453B;
  border-radius: 10px;
  padding: 13px 16px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  line-height: 1.6;
}
