/* ============================================================================
   OGM WEBSITE - CONSOLIDATED STYLES
   ============================================================================ */

/* Color System */
:root {
  --bg-dark: #0f0f0f;
  --bg-light: #ffffff;
  --accent: #c9a87c;
  --accent-dark: #b89466;
  --accent-light: #e8dcc8;
  --text-main: #1a1a1a;
  --text-muted: #6a6a6a;
  --text-light: #9ca3af;
  --surface: #ffffff;
  --border-subtle: #dad7d0;
  --success: #22c55e;
  --max-width: 1120px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ============================================================================
   LAYOUT & CONTAINERS
   ============================================================================ */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 640px) {
  section {
    padding: 2.5rem 0;
  }
}

/* ============================================================================
   TYPOGRAPHY
   ============================================================================ */

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
  z-index: 1;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 168, 124, 0.35);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 3px solid rgba(201, 168, 124, 0.6);
  outline-offset: 2px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

/* Filter Button Styles */
.gallery-filters-section {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
  min-width: 260px;
  max-width: none;
  transition: all 0.3s ease;
  border: 2px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
}

.filter-group.has-active-filter {
  background: var(--accent-light);
  border-color: var(--accent);
}

.filter-group-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--surface);
  border: none;
  border-bottom: 2px solid var(--border-subtle);
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
}

.filter-group.has-active-filter .filter-group-title {
  background: var(--accent);
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.filter-group-title:hover {
  border-bottom-color: var(--accent);
  background: var(--accent-light);
}

.filter-group.has-active-filter .filter-group-title:hover {
  background: var(--accent-dark);
}

.filter-group-title i {
  transition: transform 0.3s ease;
}

.filter-group-title.active i {
  transform: rotate(180deg);
}

.gallery-filters {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: slideDown 0.3s ease;
  padding: 0.6rem;
  background: var(--bg-light);
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gallery-filters.show {
  display: flex;
}

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

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  color: var(--text-main);
  border: 2px solid var(--border-subtle);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin: 0.15rem;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: var(--border-subtle);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

/* ============================================================================
   HEADER & NAVIGATION
   ============================================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(250, 248, 243, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  width: 100%;
  max-width: none;
  padding: 0 1.25rem;
  margin: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.logo-mark:hover {
  transform: scale(1.05);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-text span:first-child {
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.logo-text span:last-child {
  font-size: clamp(0.55rem, 1.5vw, 0.7rem);
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: clamp(0.6rem, 1.5vw, 1.5rem);
  align-items: center;
  font-size: clamp(0.65rem, 1.8vw, 0.92rem);
  flex-wrap: nowrap;
  flex-grow: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-main);
  position: relative;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links .mobile-only {
  display: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

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

.nav-cta {
  display: flex;
  gap: 1rem;
}

.nav-cta .btn {
  padding: 0.64rem 1.35rem;
  font-size: 0.71rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-light);
    flex-direction: column;
    gap: 0;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    z-index: 1000;
    font-size: 134% !important;
    line-height: 1.15;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links .mobile-only {
    display: block;
  }

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

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-light);
  padding: 1.75rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 2.4rem;
  color: var(--text-main);
}

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

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3.6rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-media {
  position: relative;
}

.hero-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1 / 1.15;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-media {
    order: -1;
  }

  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 2.5rem 0;
  }

  .hero-inner {
    gap: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ============================================================================
   GALLERY GRID
   ============================================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================================================
   SECTIONS & CONTENT
   ============================================================================ */

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

.section-label {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* About Page Spacing */
#about {
  padding-top: 2rem;
}

@media (max-width: 768px) {
  #about {
    padding-top: 1.5rem;
  }
}

/* Our Values Spacing */
#values-section {
  background: var(--surface);
  padding: 4rem 0 2.5rem;
}

#values-section .section-header {
  margin-bottom: 3.5rem;
}

#values-section .cards-grid {
  margin-bottom: 3.5rem;
}

#values-section .values-follow-up {
  margin-top: 5rem;
}

@media (max-width: 768px) {
  #values-section {
    padding: 3rem 0 2rem;
  }

  #values-section .section-header {
    margin-bottom: 2.75rem;
  }

  #values-section .values-follow-up {
    margin-top: 4rem;
  }
}

/* ============================================================================
   CARD GRIDS
   ============================================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Services grid: stay 3-up on desktop, jump straight to single column on smaller viewports */
#services .cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
  #services .cards-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-light);
}

.service-areas-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-areas-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--accent-light);
}

.card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.card-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  line-height: 1.7;
  flex-grow: 1;
}

.card-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card-list li {
  padding: 0.4rem 0 0.4rem 1.6rem;
  position: relative;
}

.card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ============================================================================
   MATERIAL CARDS
   ============================================================================ */

.material-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.material-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.material-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.1));
}

.material-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.material-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.material-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--accent-light);
  color: var(--text-main);
  font-weight: 500;
  width: fit-content;
  margin-bottom: 0.8rem;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta {
  background: white;
  color: var(--text-main);
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.cta-box {
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  color: #e5e7eb;
}

.cta-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-box p {
  margin-bottom: 0.8rem;
  color: #d1d5db;
}

.cta-box strong {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .cta-inner {
    flex-direction: column;
    gap: 2rem;
  }
}

/* ============================================================================
   LINK GRID / PILL GRID
   ============================================================================ */

.link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.link-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: #fff;
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.link-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

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

footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-light);
  transition: color 0.2s ease;
  font-size: 0.85rem;
}

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

.footer-text {
  color: var(--text-light);
  font-size: 0.85rem;
}

.footer-text strong {
  color: #fff;
}

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

  .footer-links {
    justify-content: center;
  }
}

/* ============================================================================
   UTILITIES
   ============================================================================ */

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

.no-wrap-desktop {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .no-wrap-desktop {
    white-space: normal;
  }
}

.text-accent {
  color: var(--accent);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.py-2 { padding: 1rem 0; }
.py-3 { padding: 1.5rem 0; }
.py-4 { padding: 2rem 0; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 768px) {
  /* Mobile CTA affordance: stronger shadow + subtle pulse, tactile tap */
  .btn {
    box-shadow: 0 10px 22px rgba(201, 168, 124, 0.28), 0 6px 16px rgba(0, 0, 0, 0.12);
    animation: cta-mobile-pulse 3.2s ease-in-out infinite;
    transform: none;
  }

  .btn:active {
    transform: scale(0.98);
    box-shadow: 0 6px 14px rgba(201, 168, 124, 0.32), 0 4px 10px rgba(0, 0, 0, 0.14);
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  section {
    padding: 2.5rem 0;
  }
}

@keyframes cta-mobile-pulse {
  0% {
    box-shadow: 0 10px 22px rgba(201, 168, 124, 0.28), 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
  }
  50% {
    box-shadow: 0 14px 26px rgba(201, 168, 124, 0.34), 0 8px 18px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
  }
  100% {
    box-shadow: 0 10px 22px rgba(201, 168, 124, 0.28), 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .cards-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .link-grid {
    flex-direction: column;
  }

  .link-pill {
    width: 100%;
    justify-content: center;
  }

  section {
    padding: 2rem 0;
  }

  .card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* FOOTER STYLING */
.ogm-footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 30px 30px;
    text-align: center;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 120px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-col a,
.footer-col p {
    display: block;
    color: #fff;
    margin: 8px 0;
    font-size: 16px;
    text-decoration: none;
    line-height: 1.6;
    overflow-wrap: anywhere;   /* KEY FIX FOR EMAIL WRAPPING */
}

/* Icons */
.footer-col i {
    margin-right: 10px;
    font-size: 18px;
}

/* Social icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 8px;
}

.social-icons a {
    font-size: 40px;
    color: #fff;
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Divider line */
.footer-line {
    width: 80%;
    height: 1px;
    background: #444;
    margin: 20px auto;
}

/* Copyright */
.footer-copy {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* ============================================================================
   FLIP CARDS (Edge Profiles)
   ============================================================================ */

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.flip-card-front {
  background-color: white;
  color: var(--text-main);
}

.flip-card-back {
  background-color: white;
  color: var(--text-main);
  transform: rotateY(180deg);
  padding: 0;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  display: block;
}

.flip-card-back img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.process-hero .video-shell {
  position: relative;
  width: 100%;
  height: clamp(420px, 75vh, 680px);
  overflow: hidden;
  background: #fff url('assets/css/img/ogm-slab-poster.jpg') center/cover no-repeat;
}

.process-hero video {
  display: block;
  background: #fff;
  width: 100%;
  height: 100%;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  perspective: 1000;
  z-index: 1;
}

.process-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  z-index: 2;
}

.process-subheading {
  white-space: nowrap;
}

.process-subheading .process-line1 {
  display: block;
}

@media (max-width: 600px) {
  .process-hero h1 {
    font-size: 2.1rem !important;
  }
  .process-hero .hero-subtitle {
    font-size: 1rem !important;
  }
  .process-hero .hero-actions {
    margin-top: 2rem !important;
  }
  .process-hero .hero-actions a {
    padding: 0.9rem 1.6rem !important;
    font-size: 1.32rem !important;
  }

  .process-subheading {
    white-space: normal !important;
    text-align: center;
    display: inline-block;
    font-size: 1.29rem !important;
    font-weight: 800;
  }
  .process-subheading .process-amp {
    display: block;
  }
  .process-subheading .process-line1 {
    display: block;
  }
  .process-subheading .process-line2 {
    display: block;
  }
  .process-subheading .process-line3 {
    display: block;
  }

  .hero .hero-content h1 {
    font-size: 1.9rem !important;
  }
  .hero .hero-content .hero-subtitle {
    font-size: 0.98rem !important;
  }
  #our-story-toggle {
    padding: 1.1rem 2.4rem !important;
    font-size: 1rem !important;
  }

  .see-love-line {
    text-align: center;
  }
  .see-love-line .mobile-line-break {
    display: block;
  }
  .see-love-line .see-love-strong {
    font-size: 1.54rem !important;
  }
}

@media (max-width: 768px) {
  .process-subheading {
    white-space: normal !important;
    text-align: center;
    display: inline-block;
    font-size: 1.36rem !important;
    font-weight: 800;
  }
  .process-subheading .process-amp,
  .process-subheading .process-line1,
  .process-subheading .process-line3 {
    display: block;
  }

  .ogm-pfs-title {
    font-size: 2rem !important;
  }

  .process-intro {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }
}

.back-to-top {
  position: fixed;
  top: 50%;
  right: 0;
  bottom: auto;
  width: 72px;
  height: 170px;
  border-radius: 10px 0 0 10px;
  border: none;
  background: rgba(201, 168, 124, 0.95);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 999;
  text-transform: uppercase;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(-50%) translateX(0);
}

.back-to-top:hover {
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .back-to-top {
    top: auto;
    right: 0.9rem;
    bottom: 0.9rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    font-size: 1rem;
    transform: translateY(8px);
    background: rgba(201, 168, 124, 0.92);
    color: #fff;
    text-transform: none;
    letter-spacing: 0;
  }

  .back-to-top.visible {
    transform: translateY(0);
  }

  .back-to-top {
    font-size: 1.2rem;
  }
}
