/* JIVANA LIFESTYLE - DESIGN SYSTEM STYLESHEET */

/* Import SF Pro Display & Premium Google Fonts fallbacks */
@import url('https://fonts.cdnfonts.com/css/sf-pro-display');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600&display=swap');

/* Color Variables and Design Tokens */
:root {
  --color-onyx: #1A1A1A;
  --color-gold: #D4AF37;
  --color-gold-hover: #E5C158;
  --color-gold-glow: rgba(212, 175, 55, 0.3);
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-light-gray: #F5F5F5;
  --color-gray: #A0A0A0;
  --color-dark-gray: #2A2A2A;
  
  --font-stack: "SF Pro Display", "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease-in-out;
  --header-height: 80px;
}

/* Base resets & global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-onyx);
  color: var(--color-white);
  font-family: var(--font-stack);
  font-weight: 300; /* SF Pro Display Light */
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography styles */
h1, h2, h3, h4, h5, h6, .btn, .nav-link, .brand-title {
  font-weight: 500; /* SF Pro Display Medium */
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.2rem;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  letter-spacing: 0.15em;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--color-gold);
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--color-white);
  letter-spacing: 0.12em;
}

p {
  font-size: 1.05rem;
  color: var(--color-gray);
  margin-bottom: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.03em;
}

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

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

.section {
  padding: 8rem 0;
  position: relative;
}

.section-dark {
  background-color: var(--color-black);
}

.section-onyx {
  background-color: var(--color-onyx);
}

/* Header & Navigation */
header {
  height: var(--header-height);
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled {
  height: 70px;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

header.scrolled .logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.85rem;
  color: var(--color-gray);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--color-black);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.6;
  transform: scale(1.05);
  animation: heroZoom 10s infinite alternate;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(26,26,26,0.95) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-logo-large {
  max-width: 180px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s forwards 0.3s;
}

.hero h1 {
  font-size: 4rem;
  letter-spacing: 0.2em;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s forwards 0.6s;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s forwards 0.9s;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  z-index: 3;
  opacity: 0.7;
}

.hero-scroll-btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  transition: var(--transition-fast);
  animation: bounce 2s infinite;
}

.hero-scroll-btn:hover {
  opacity: 1;
}

.hero-scroll-btn svg {
  fill: var(--color-gold);
  width: 32px;
  height: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border-radius: 0;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
  border: 1px solid var(--color-gold);
}

.btn-primary:hover {
  background-color: var(--color-gold-hover);
  border-color: var(--color-gold-hover);
  box-shadow: 0 0 15px var(--color-gold-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-gold);
}

.btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
  box-shadow: 0 0 15px var(--color-gold-glow);
  transform: translateY(-2px);
}

/* About & Services section on Home Page */
.about-preview, .services-preview {
  text-align: center;
}

.section-intro-text {
  max-width: 750px;
  margin: 0 auto 3rem auto;
  font-size: 1.15rem;
  line-height: 1.8;
}

.brand-essence-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 4rem 0;
}

.brand-essence-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 3rem 1.5rem;
  transition: var(--transition-smooth);
}

.brand-essence-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.03);
}

.brand-essence-icon {
  margin-bottom: 1.5rem;
}

.brand-essence-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-gold);
}

.brand-essence-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.15em;
}

.brand-essence-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Grid layout for Services Preview */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.service-card {
  position: relative;
  height: 450px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(212, 175, 55, 0.1);
  background-color: var(--color-black);
}

.service-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 1;
}

.service-card:hover .service-card-bg {
  transform: scale(1.1);
}

.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(26, 26, 26, 0.95) 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.95) 100%);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  z-index: 3;
  text-align: left;
  transition: transform 0.4s ease;
}

.service-card-tag {
  color: var(--color-gold);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  font-size: 0.95rem;
  margin-bottom: 0;
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.service-card:hover .service-card-desc {
  max-height: 80px;
  opacity: 1;
  margin-top: 1rem;
}

/* Contact Home Section */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-container {
  padding-right: 2rem;
}

.contact-info-title {
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.contact-details {
  list-style: none;
  margin-top: 2.5rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-detail-icon {
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.contact-detail-text h4 {
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
  letter-spacing: 0.1em;
}

.contact-detail-text p {
  margin-bottom: 0;
  font-size: 1rem;
  color: var(--color-white);
}

.contact-detail-text p a {
  color: var(--color-white);
  transition: var(--transition-fast);
}

.contact-detail-text p a:hover {
  color: var(--color-gold);
}

/* Contact Form Styling */
.contact-form-container {
  background-color: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 3rem;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  background-color: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-white);
  padding: 1rem 1.2rem;
  font-family: var(--font-stack);
  font-weight: 300;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 10px var(--color-gold-glow);
  background-color: var(--color-black);
}

.form-control.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 8px rgba(220, 53, 69, 0.4) !important;
}

.invalid-feedback {
  display: none;
  color: #ff6b7b;
  font-size: 0.8rem;
  margin-top: 0.4rem;
  line-height: 1.4;
  letter-spacing: 0.03em;
}

.invalid-feedback.visible {
  display: block;
}

/* Custom phone selector with country codes */
.phone-input-group {
  display: flex;
  gap: 0.5rem;
}

.country-select-wrapper {
  position: relative;
  width: 130px;
  flex-shrink: 0;
}

.country-select-wrapper select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2rem;
}

.country-select-wrapper::after {
  content: '▼';
  font-size: 0.7rem;
  color: var(--color-gold);
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Submit Form Notification */
.form-notification {
  display: none;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
  border: 1px solid;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
}

.form-notification.success {
  display: block;
  background-color: rgba(212, 175, 55, 0.1);
  border-color: var(--color-gold);
  color: var(--color-white);
}

.form-notification.error {
  display: block;
  background-color: rgba(220, 53, 69, 0.1);
  border-color: #dc3545;
  color: #ff6b7b;
}

/* Footer Section */
footer {
  background-color: var(--color-black);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  padding: 5rem 0 2rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  max-width: 120px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 25px;
  height: 1px;
  background-color: var(--color-gold);
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.8rem;
}

.footer-link-item a {
  font-size: 0.95rem;
  color: var(--color-gray);
}

.footer-link-item a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-social-links {
  display: flex;
  gap: 1.2rem;
  margin-top: 1rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-color: rgba(26, 26, 26, 0.5);
  transition: var(--transition-smooth);
}

.social-btn:hover {
  border-color: var(--color-gold);
  background-color: var(--color-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px var(--color-gold-glow);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
  transition: var(--transition-smooth);
}

.social-btn:hover svg {
  fill: var(--color-black);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-tagline {
  flex: 1;
  text-align: center;
  color: var(--color-gold);
  font-style: bold;
  letter-spacing: 0.08em;
}

.footer-copyright,
.footer-bottom-links {
  flex: 1;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--color-gray);
}

.footer-bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--color-gray);
}

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

/* Page Headers (for inner pages) */
.page-header {
  padding: 10rem 0 5rem 0;
  background: linear-gradient(to bottom, var(--color-black) 0%, var(--color-onyx) 100%);
  text-align: center;
  /* border-bottom: 1px solid rgba(212, 175, 55, 0.1); */
}

.page-header h1 {
  font-size: 3.5rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.breadcrumbs {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.breadcrumbs a {
  color: var(--color-gray);
  margin-right: 0.5rem;
}

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

.breadcrumbs span {
  margin-left: 0.5rem;
}

/* About Page Details */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-hero-image {
  border: 1px solid rgba(212, 175, 55, 0.2);
  padding: 1rem;
  background-color: var(--color-black);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.about-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-mission-block {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.about-mission-quote {
  font-size: 1.8rem;
  color: var(--color-gold);
  font-style: bold;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.about-value-card {
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 3rem 2rem;
  background-color: var(--color-black);
  transition: var(--transition-smooth);
}

.about-value-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.about-value-num {
  font-size: 2.5rem;
  color: rgba(212, 175, 55, 0.2);
  margin-bottom: 1rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.about-value-card:hover .about-value-num {
  color: var(--color-gold);
}

/* Service Page Details */
.service-details-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
  margin-bottom: 8rem;
}

.service-details-row:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.service-details-row:nth-child(even) .service-details-text-col {
  order: 2;
}

.service-details-row:nth-child(even) .service-details-img-col {
  order: 1;
}

.service-details-img-col {
  border: 1px solid rgba(212, 175, 55, 0.15);
  padding: 0.8rem;
  background-color: var(--color-black);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.service-details-img-col img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.service-details-text-col h2 {
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  margin: 2rem 0;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-white);
}

.service-feature-item svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold);
}

/* Gallery Page Styling */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  list-style: none;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--color-gray);
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--color-gold);
  color: var(--color-black);
  background-color: var(--color-gold);
  box-shadow: 0 5px 15px var(--color-gold-glow);
}

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

.gallery-item {
  position: relative;
  height: 380px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.1);
  background-color: var(--color-black);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 2;
  padding: 2rem;
  text-align: center;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

.gallery-overlay p {
  color: var(--color-gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
  transform: translateY(15px);
  transition: transform 0.4s ease 0.1s;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: var(--color-black);
  padding: 0.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  color: var(--color-white);
  text-align: center;
  padding: 1.5rem 1rem 1rem 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: -5px;
  color: var(--color-white);
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-gold);
}

/* Contact Page Map & Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
}

.map-container {
  border: 1px solid rgba(212, 175, 55, 0.15);
  background-color: var(--color-black);
  height: 450px;
  overflow: hidden;
  padding: 0.8rem;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: #151515;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(212, 175, 55, 0.05);
  position: relative;
  text-align: center;
  padding: 2rem;
}

.map-icon {
  margin-bottom: 1.5rem;
}

.map-icon svg {
  width: 50px;
  height: 50px;
  fill: rgba(212, 175, 55, 0.3);
}

/* Legal Page Styling (Privacy Policy / Terms) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.legal-content h3 {
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--color-gold);
  border-left: 2px solid var(--color-gold);
  padding-left: 1rem;
}

.legal-content p {
  color: var(--color-gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.legal-content ul {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.legal-content li {
  color: var(--color-gray);
  margin-bottom: 0.75rem;
  position: relative;
}

.legal-content li::before {
  content: '▪';
  color: var(--color-gold);
  position: absolute;
  left: -1.5rem;
}

/* Scroll Animation System */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe animations */
@keyframes heroZoom {
  0% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1.08);
  }
}

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .brand-essence-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-preview-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 4rem auto;
  }
  .service-card {
    height: 380px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-section-grid,
  .about-hero-grid,
  .service-details-row,
  .service-details-row:nth-child(even),
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .service-details-row:nth-child(even) .service-details-text-col,
  .service-details-row:nth-child(even) .service-details-img-col {
    order: unset;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .header-container {
    position: relative;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-black);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1050;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }
  .nav-menu.active {
    right: 0;
  }
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .hero h1 {
    font-size: 2.8rem;
    letter-spacing: 0.1em;
  }
  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 0.15em;
  }
  .section {
    padding: 5rem 0;
  }
  .brand-essence-grid {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .footer-tagline {
    margin: 0.75rem 0;
  }
  .footer-bottom-links {
    justify-content: center;
  }
}

/* ==========================================
   JIVANA GROUP PAGE STYLING
   ========================================== */

.companies-section {
  padding: 6rem 0;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: center;
  justify-items: center;
}

.company-logo-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 2.5rem;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
}

.company-logo-card img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition-smooth);
}

.company-logo-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.1);
  transform: scale(1.05);
}

.company-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.company-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.company-link:hover {
  text-decoration: none;
}

.brands-section {
  padding: 6rem 0;
  background-color: var(--color-black);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
  align-items: center;
  justify-items: center;
}

.brand-logo-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  padding: 2.5rem;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: var(--transition-smooth);
}

.brand-logo-card:hover {
  background-color: rgba(212, 175, 55, 0.02);
  border-color: var(--color-gold);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
  transform: scale(1.05);
}

.brand-logo-card:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.team-section {
  padding: 6rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.team-card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 175, 55, 0.1);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.team-image-container {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
  overflow: hidden;
  background-color: var(--color-black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.team-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.team-info {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.team-name {
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}

.team-role {
  font-size: 0.8rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.team-desc {
  font-size: 0.9rem;
  color: var(--color-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

.team-social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 26, 26, 0.5);
  transition: var(--transition-smooth);
}

.team-social-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gray);
  transition: var(--transition-smooth);
}

.team-card:hover {
  border-color: var(--color-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.03);
}

.team-social-btn:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.team-social-btn:hover svg {
  fill: var(--color-black);
}

@media (max-width: 1024px) {
  .companies-grid, .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .companies-grid, .brands-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --------------------------------------------------------------------------
   JIVANA EDITORIAL STOREFRONT — premium retail layer
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --color-onyx: #1d1d1a;
  --color-gold: #a88752;
  --color-gold-hover: #8d6c3d;
  --color-white: #f8f4ec;
  --color-black: #151512;
  --color-light-gray: #eee9df;
  --color-gray: #b9b2a7;
  --color-dark-gray: #272620;
  --font-stack: "Manrope", Arial, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --header-height: 88px;
}

html { background: #f6f1e8; }
body { background: #f6f1e8; color: #23221e; }
h1, h2, h3 { font-family: var(--font-display); text-transform: none; letter-spacing: -.025em; font-weight: 500; }
h1 { font-size: clamp(4rem, 7vw, 7.5rem); line-height: .84; }
h2 { font-size: clamp(2.8rem, 4.8vw, 5rem); line-height: .95; }
h3 { font-size: 2rem; letter-spacing: 0; }
p { font-family: var(--font-stack); }
h2::after { display: none; }
.section { padding: clamp(5.5rem, 9vw, 9rem) 0; }
.section-onyx { background: #f6f1e8; }
.section-dark { background: #1e1e19; }
.section-onyx h2, .section-onyx h3 { color: #23221e; }
.section-onyx p { color: #666057; }
.container { max-width: 1380px; padding-inline: clamp(1.25rem, 4vw, 4.5rem); }

.announcement-bar { height: 30px; display: grid; place-items: center; position: fixed; inset: 0 0 auto; z-index: 1002; background: #927446; color: #fffaf0; font: 500 .65rem/1 var(--font-stack); text-transform: uppercase; letter-spacing: .18em; }
header { top: 30px; background: rgba(248,244,236,.96); border-bottom: 1px solid rgba(35,34,30,.12); color: #23221e; }
header.scrolled { top: 30px; background: rgba(248,244,236,.94); box-shadow: 0 10px 40px rgba(29,26,21,.08); }
.header-container { max-width: 1500px; gap: 2rem; }
.logo-img { height: 54px; filter: none; transform: scale(1.55); transform-origin: left center; }
header nav { margin-left: auto; }
.nav-menu { align-items: center; gap: clamp(.9rem, 1.8vw, 2.1rem); }
.nav-link { color: #4d4942; font: 500 .68rem/1 var(--font-stack); letter-spacing: .13em; }
.nav-link:hover, .nav-link.active { color: #8d6c3d; }
.nav-link::after { background: #8d6c3d; }

.hero { min-height: 820px; height: 100svh; justify-content: flex-start; text-align: left; margin-top: 30px; }
.hero-bg { background-size: cover; background-position: 63% center; opacity: 1; animation: none; }
.hero-overlay { display: block; background: linear-gradient(90deg, rgba(15,14,12,.82) 0%, rgba(15,14,12,.55) 42%, rgba(15,14,12,.06) 72%); }
.hero-content { max-width: 760px; margin-left: max(5vw, calc((100vw - 1380px)/2 + 4rem)); padding: 7rem 1rem 2rem 0; }
.hero-content h1 { color: #fbf6ed; margin: 1.4rem 0 2rem; }
.hero-content h1 em { color: #d5b883; font-weight: 400; }
.hero-kicker, .section-eyebrow { display: block; font: 600 .68rem/1.4 var(--font-stack); text-transform: uppercase; letter-spacing: .25em; color: #b8965f; margin-bottom: 1.25rem; }
.hero-copy { max-width: 570px; color: rgba(255,255,255,.76); font-size: 1rem; line-height: 1.8; }
.btn { border-radius: 0; font: 600 .68rem/1 var(--font-stack); letter-spacing: .18em; padding: 1.2rem 1.8rem; }
.btn-primary { background: #f5eee2; color: #24221d; border-color: #f5eee2; }
.btn-primary:hover { background: #b8965f; border-color: #b8965f; color: white; }
.hero-text-link { color: white; font: 500 .72rem var(--font-stack); text-transform: uppercase; letter-spacing: .15em; border-bottom: 1px solid rgba(255,255,255,.55); padding-bottom: .4rem; }
.hero-text-link span { margin-left: .5rem; }
.hero-scroll { bottom: 1.5rem; }

.about-preview { text-align: left; }
.about-preview .section-intro-text { font-family: var(--font-display); font-size: clamp(1.6rem, 2.5vw, 2.55rem); line-height: 1.35; color: #413d36; max-width: 1000px; margin: 0 0 5rem; }
.about-preview .btn-secondary { color: #282620; border-color: #9a7846; background: transparent; }
.about-preview .btn-secondary:hover { color: #fffaf0; background: #9a7846; }
.brand-essence-grid { border-top: 1px solid #d8d0c2; gap: 0; }
.brand-essence-card { background: transparent; border: 0; border-right: 1px solid #d8d0c2; border-radius: 0; padding: 3rem 2rem; }
.brand-essence-card:last-child { border-right: 0; }
.brand-essence-card:hover { transform: none; background: #eee7db; box-shadow: none; }
.brand-essence-icon svg { fill: #967649; }

.services-preview { text-align: left; }
.services-preview h2 { color: #f7f1e7; max-width: 850px; }
.services-preview .section-intro-text { margin-left: 0; color: #a9a194; }
.services-preview-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.service-card { min-height: 620px; border: 0; border-radius: 0; }
.service-card-bg { filter: saturate(.75); transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .5s; }
.service-card:hover .service-card-bg { transform: scale(1.04); filter: saturate(1); }
.service-card-overlay { background: linear-gradient(to top, rgba(10,10,8,.9), rgba(10,10,8,.03) 68%); }
.service-card-content { padding: 2.4rem; transform: none; }
.service-card-content h3 { font-size: clamp(2.8rem, 4vw, 4.2rem); color: white; margin-bottom: .75rem; }
.service-card-tag { color: #d6bc8c; font-size: .65rem; letter-spacing: .2em; }
.service-card-desc { opacity: .78; max-width: 390px; }
.card-shop-link { display: inline-flex; gap: .7rem; color: white; font: 600 .67rem var(--font-stack); text-transform: uppercase; letter-spacing: .16em; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: .45rem; margin-top: .75rem; }

/* High-contrast contact experience */
#contact.section-onyx { background: #24231f; }
#contact.section-onyx h2,
#contact.section-onyx h3 { color: #fbf7ef; }
#contact.section-onyx p { color: #d4cdc2; }
#contact .contact-detail-text h4,
#contact .form-label { color: #d5b476; }
#contact .contact-detail-text p,
#contact .contact-detail-text p a { color: #f5f0e8; }
#contact .contact-form-container { background: #181815; border-color: rgba(213,180,118,.35); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
#contact .form-control { background: #292824; color: #fffaf2; border-color: rgba(213,180,118,.38); }
#contact .form-control::placeholder { color: #bdb5aa; opacity: 1; }
#contact .form-control:focus { background: #302e29; border-color: #d5b476; }
#contact select.form-control { color-scheme: dark; }

/* Group page: preserve contrast for dark corporate sections and white logos. */
.companies-section,
.brands-section,
.team-section { background: #1e1e1a; }
.companies-section h2,
.brands-section h2,
.team-section h2 { color: #f8f2e8; }
.companies-section .section-intro-text,
.brands-section .section-intro-text,
.team-section .section-intro-text { color: #c8c0b5; }
.company-logo-card,
.brand-logo-card { background: #282722; border-color: rgba(213,180,118,.28); }
.company-logo-card img,
.brand-logo-card img { filter: grayscale(100%) brightness(1.45) opacity(.9); }
.company-logo-card:hover img,
.brand-logo-card:hover img { filter: grayscale(0%) brightness(1.1) opacity(1); }
.team-card { background: #282722; border-color: rgba(213,180,118,.25); }
.team-section .team-name { color: #fbf6ed; }
.team-section .team-desc { color: #c8c0b5; }

/* Services page controls sit on the light editorial canvas. */
.service-details-text-col .service-feature-item { color: #48433b; }
.service-details-text-col .btn-secondary { color: #292720; border-color: #9a7846; }
.service-details-text-col .btn-secondary:hover { color: #fffaf0; background: #9a7846; }
.service-details-text-col .btn-primary { background: #292720; color: #fffaf0; border-color: #292720; }

/* About page: readable Brand Essence cards on the dark surface. */
.about-value-card { background: #22211d; border-color: rgba(154,120,70,.42); }
.about-value-card .about-value-num { color: #c29a5d; }
.about-value-card h3 { color: #fff8ed; }
.section-onyx .about-value-card p { color: #d3cbc0; }
.about-value-card:hover { background: #2a2823; border-color: #c29a5d; }
.about-value-card:hover .about-value-num { color: #e0bd83; }

/* Branded 404 destination for unavailable brand sites. */
.error-page { min-height: 100svh; background: #efe1d1 url('assets/404-interior-v2.png') center/cover no-repeat; color: #25170e; display: grid; grid-template-rows: auto 1fr; }
.error-page::before { content: ''; position: fixed; inset: 0; background: rgba(255,248,238,.08); pointer-events: none; }
.error-page-header { position: relative; inset: auto; width: min(1060px, calc(100% - 3rem)); height: auto; margin: 0 auto; padding: 1rem 0 .7rem; display: flex; justify-content: center; background: transparent; border-bottom: 1px solid rgba(155,111,55,.32); z-index: 1; }
.error-logo-link { display: block; width: 86px; height: 86px; overflow: hidden; }
.error-logo-link img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.32); }
.error-page-main { position: relative; z-index: 1; align-self: center; width: min(760px, calc(100% - 2.5rem)); text-align: center; padding: 1rem 1.5rem 7rem; margin: 0 auto; }
.error-code { display: flex; align-items: center; justify-content: center; gap: 1.4rem; color: #a87329; margin-bottom: 1.8rem; }
.error-code span { width: 64px; height: 1px; background: #b8873e; }
.error-code strong { font: 600 1.15rem/1 var(--font-stack); letter-spacing: .45em; padding-left: .45em; }
.error-page h1 { color: #25170e; font-size: clamp(4.2rem, 7vw, 6.6rem); line-height: .95; margin-bottom: 2rem; }
.error-page p { color: #625b54; max-width: 570px; margin: 0 auto 2.7rem; font-size: 1.05rem; line-height: 1.65; }
.error-page .btn-primary { min-width: 225px; background: #2a1b12; color: #fff8ee; border-color: #2a1b12; }
.error-page .btn-primary:hover { background: #9a6e35; border-color: #9a6e35; }

footer { background: #151512; }

@media (max-width: 1050px) {
  .mobile-nav-toggle { order: 3; }
  header nav { order: 4; }
  .services-preview-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 70svh; }
  .brand-essence-card { border-right: 0; border-bottom: 1px solid #d8d0c2; }
}

@media (max-width: 720px) {
  .announcement-bar { font-size: .53rem; letter-spacing: .1em; text-align: center; padding-inline: .5rem; }
  .hero { min-height: 720px; }
  .hero-bg { background-position: 67% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(14,13,11,.8), rgba(14,13,11,.3)); }
  .hero-content { margin-left: 1.25rem; padding-right: 1.25rem; }
  .hero-content h1 { font-size: clamp(3.7rem, 17vw, 5.5rem); }
  .hero-copy { font-size: .9rem; max-width: 90%; }
  .service-card { min-height: 580px; }
  .error-page { background-position: 37% center; }
  .error-page-header { width: calc(100% - 2rem); }
  .error-page-main { padding-bottom: 2rem; }
  .error-page h1 { font-size: clamp(3.5rem, 16vw, 5rem); }
  .error-page p br { display: none; }
  .error-code span { width: 42px; }
}
