/*
Theme Name: SEI Petroleum
Theme URI: https://seipetroleum.com
Author: SEI Petroleum Group
Author URI: https://seipetroleum.com
Description: Official WordPress theme for SEI Petroleum — European energy trading house. Built for commodity trading, B2B sourcing, and global supply chain operations.
Version: 1.0.0
License: Proprietary
License URI: https://seipetroleum.com
Text Domain: sei-petroleum
Tags: business, corporate, energy, trading, petroleum
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy-deep:    #0B1F3A;
  --navy-mid:     #1A3A5C;
  --navy-light:   #2A5078;
  --gold:         #C49A2B;
  --gold-light:   #E8D5A0;
  --off-white:    #F4F6F9;
  --cool-gray:    #D0D8E4;
  --text-dark:    #2C3A4A;
  --text-muted:   #6B7A8D;
  --text-muted-dark: #9CB3C9;
  --white:        #FFFFFF;

  --container:    1200px;
  --radius:       4px;
  --radius-lg:    8px;
  --transition:   0.3s ease;
  --shadow-card:  0 2px 20px rgba(11,31,58,0.10);
  --shadow-hover: 0 8px 40px rgba(11,31,58,0.16);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.2rem; }

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

.section-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-tag--light {
  color: var(--gold-light);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.section-pad {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-pad--sm {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

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

@media (min-width: 600px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn--gold:hover {
  background: #d4aa3b;
  color: var(--navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196,154,43,0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 0.5px solid rgba(255,255,255,0.5);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  color: var(--white);
}

.btn--ghost-dark {
  background: transparent;
  color: var(--navy-deep);
  border: 0.5px solid var(--navy-deep);
}

.btn--ghost-dark:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 1.25rem 0;
}

#site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

#site-header.scrolled {
  background: var(--white);
  box-shadow: 0 1px 20px rgba(11,31,58,0.10);
  padding: 0.75rem 0;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-logo .logo-light { display: block; }
.site-logo .logo-dark  { display: none; }

#site-header.scrolled .site-logo .logo-light { display: none; }
#site-header.scrolled .site-logo .logo-dark  { display: block; }

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.88);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.01em;
}

.primary-nav a:hover,
.primary-nav a.current {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

#site-header.scrolled .primary-nav a {
  color: var(--text-dark);
}

#site-header.scrolled .primary-nav a:hover,
#site-header.scrolled .primary-nav a.current {
  color: var(--navy-deep);
  background: var(--off-white);
}

.nav-cta {
  margin-left: 0.75rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}

#site-header.scrolled .nav-hamburger span {
  background: var(--navy-deep);
}

body.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-deep);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

body.nav-open .mobile-nav-drawer {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--white);
  padding: 0.75rem 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}

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

.mobile-nav-drawer .btn--gold {
  margin-top: 1.5rem;
  text-align: center;
  justify-content: center;
}

@media (max-width: 899px) {
  .primary-nav { display: none; }
  .nav-hamburger { display: flex; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-deep);
  overflow: hidden;
}

.hero__bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 5rem;
  max-width: 700px;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196,154,43,0.12);
  border: 0.5px solid rgba(196,154,43,0.4);
  border-radius: 50px;
  padding: 0.375rem 1rem;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.75rem;
}

.hero__pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  color: var(--text-muted-dark);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  animation: bounceDown 1.8s ease infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--off-white);
  padding: 3rem 0;
  border-top: 0.5px solid var(--cool-gray);
  border-bottom: 0.5px solid var(--cool-gray);
}

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

@media (min-width: 900px) {
  .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 0.5px;
  background: var(--cool-gray);
  display: none;
}

@media (min-width: 900px) {
  .stat-item + .stat-item::before { display: block; }
}

.stat-item__value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-item__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  background: var(--off-white);
}

.products-grid__header {
  text-align: center;
  margin-bottom: 3rem;
}

.products-grid__header h2 {
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.products-grid__header p {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border: 0.5px solid var(--cool-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: transparent;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card__icon {
  width: 48px;
  height: 48px;
  background: var(--navy-deep);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.product-card__icon::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.product-card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3 {
  font-size: 1.1rem;
  color: var(--navy-deep);
  margin-bottom: 0.625rem;
}

.product-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  background: var(--navy-mid);
}

.why-us__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.why-us__header h2 {
  color: var(--white);
}

.why-us-item {
  padding: 2rem 0;
  border-top: 0.5px solid rgba(255,255,255,0.1);
}

@media (min-width: 900px) {
  .why-us-item {
    padding: 0 2rem;
    border-top: none;
    border-left: 0.5px solid rgba(255,255,255,0.1);
  }

  .why-us-item:first-child { border-left: none; }
}

.why-us-item__number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 1rem;
}

.why-us-item__rule {
  width: 36px;
  height: 0.5px;
  background: var(--gold);
  margin-bottom: 1.25rem;
}

.why-us-item h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.why-us-item p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.7;
}

/* ============================================================
   ABOUT STRIP
   ============================================================ */
.about-strip {
  background: var(--white);
}

.about-strip__text h2 {
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.about-strip__text p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-strip__card {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 0.5px solid rgba(255,255,255,0.06);
}

.about-strip__card-logo {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.about-strip__card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.about-strip__card-subtitle {
  font-size: 0.8rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.about-strip__details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-strip__detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.about-strip__detail-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
}

.about-strip__detail-value {
  font-size: 0.875rem;
  color: var(--white);
}

/* ============================================================
   COMPLIANCE STRIP
   ============================================================ */
.compliance-strip {
  background: var(--off-white);
  border-top: 0.5px solid var(--cool-gray);
  border-bottom: 0.5px solid var(--cool-gray);
}

.compliance-strip__header {
  text-align: center;
  margin-bottom: 2rem;
}

.compliance-strip__header h2 {
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.compliance-strip__intro {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.compliance-pillar {
  background: var(--white);
  border: 0.5px solid var(--cool-gray);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition);
}

.compliance-pillar:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.compliance-pillar__icon {
  width: 40px;
  height: 40px;
  background: rgba(196,154,43,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compliance-pillar__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.compliance-pillar h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.compliance-pillar p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.compliance-strip__cta {
  text-align: center;
  margin-top: 2.5rem;
}

.compliance-strip__cta a {
  font-weight: 500;
  color: var(--navy-deep);
  border-bottom: 0.5px solid var(--gold);
  padding-bottom: 0.125rem;
  transition: color var(--transition);
}

.compliance-strip__cta a:hover {
  color: var(--gold);
}

/* ============================================================
   CONTACT CTA BANNER
   ============================================================ */
.contact-cta-banner {
  background: var(--navy-deep);
  text-align: center;
}

.contact-cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-cta-banner__subtitle {
  color: var(--text-muted-dark);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.contact-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
  padding: 0.5rem 0.75rem;
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
}

.wa-link:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

.wa-link svg {
  width: 18px;
  height: 18px;
  fill: #25D366;
  flex-shrink: 0;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 800;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.625rem;
}

.wa-float__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  flex-shrink: 0;
}

.wa-float__btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}

.wa-float__btn svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.wa-float__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.wa-float.wa-expanded .wa-float__options {
  max-height: 200px;
  opacity: 1;
}

.wa-float__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 0.5px solid var(--cool-gray);
  border-radius: 50px;
  padding: 0.5rem 1rem 0.5rem 0.625rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  white-space: nowrap;
  transition: all var(--transition);
}

.wa-float__option:hover {
  background: #f0fff4;
  border-color: #25D366;
  color: #1a9e4f;
}

.wa-float__option-icon {
  width: 28px;
  height: 28px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-float__option-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-deep);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

@media (min-width: 600px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer__brand-tagline {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  margin-top: 0.75rem;
  font-style: italic;
  line-height: 1.5;
}

.footer__col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col ul li a {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  transition: color var(--transition);
}

.footer__col ul li a:hover { color: var(--white); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__contact-item span,
.footer__contact-item a {
  font-size: 0.825rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

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

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(156,179,201,0.6);
  line-height: 1.6;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy-deep);
  padding: 9rem 0 5rem;
  position: relative;
  overflow: hidden;
}

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

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  color: var(--text-muted-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.5fr 1fr; }
}

.contact-form-wrap {
  background: var(--white);
  border: 0.5px solid var(--cool-gray);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrap h2 {
  color: var(--navy-deep);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

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

@media (max-width: 599px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}

.form-group .required-star {
  color: var(--gold);
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0.5px solid var(--cool-gray);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,80,120,0.08);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #e53e3e;
}

.form-group .field-error {
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 0.25rem;
  display: none;
}

.form-group .field-error.visible { display: block; }

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

.form-submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.form-submit-btn:hover:not(:disabled) {
  background: #d4aa3b;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(196,154,43,0.3);
}

.form-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11,31,58,0.2);
  border-top-color: var(--navy-deep);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}

.form-submit-btn.loading .form-spinner { display: block; }
.form-submit-btn.loading .btn-text { display: none; }

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

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}

.form-success.visible { display: block; }

.form-success__check {
  width: 64px;
  height: 64px;
  background: rgba(196,154,43,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  animation: scaleIn 0.4s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.form-success__check svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2.5;
}

.form-success h3 {
  color: var(--navy-deep);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Contact detail card */
.contact-detail-card {
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.contact-detail-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.1);
}

.contact-office {
  margin-bottom: 2rem;
}

.contact-office:last-of-type { margin-bottom: 0; }

.contact-office__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.contact-office__item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
}

.contact-office__item svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-muted-dark);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-office__item span,
.contact-office__item a {
  font-size: 0.825rem;
  color: var(--text-muted-dark);
  line-height: 1.5;
}

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

.contact-wa-links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 0.5px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.contact-wa-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  background: rgba(37,211,102,0.1);
  border: 0.5px solid rgba(37,211,102,0.25);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.85);
  font-size: 0.825rem;
  font-weight: 500;
  transition: all var(--transition);
}

.contact-wa-link:hover {
  background: rgba(37,211,102,0.18);
  color: var(--white);
}

.contact-wa-link svg {
  width: 16px;
  height: 16px;
  fill: #25D366;
  flex-shrink: 0;
}

/* ============================================================
   PRODUCTS PAGE
   ============================================================ */
.products-section {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.products-section:nth-child(odd) { background: var(--off-white); }
.products-section:nth-child(even) { background: var(--white); }

.products-section__header {
  margin-bottom: 2.5rem;
}

.products-section__header h2 {
  color: var(--navy-deep);
  margin-bottom: 0.75rem;
}

.products-section__header p {
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  border-bottom: 0.5px solid var(--cool-gray);
}

.product-spec-table th {
  background: var(--navy-deep);
  color: var(--white);
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
}

.product-spec-table th:first-child { border-radius: var(--radius) 0 0 0; }
.product-spec-table th:last-child  { border-radius: 0 var(--radius) 0 0; }

.product-spec-table td { color: var(--text-dark); }

.product-spec-table tr:last-child td { border-bottom: none; }

.product-spec-table tr:hover td { background: var(--off-white); }

.products-page__cta {
  background: var(--navy-mid);
  padding: 4rem 0;
  text-align: center;
}

.products-page__cta h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.products-page__cta p {
  color: var(--text-muted-dark);
  margin-bottom: 2rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-story {
  background: var(--white);
}

.about-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .about-story__grid { grid-template-columns: 1.5fr 1fr; gap: 5rem; align-items: center; }
}

.about-story__text h2 {
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
}

.about-story__text p {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-values {
  background: var(--navy-deep);
}

.about-values__header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-values__header h2 { color: var(--white); }

.value-card {
  text-align: center;
  padding: 2rem;
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}

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

.value-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(196,154,43,0.2);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.value-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-muted-dark);
  font-size: 0.875rem;
  line-height: 1.7;
}

.about-registration {
  background: var(--off-white);
}

.about-registration h2 {
  color: var(--navy-deep);
  margin-bottom: 2rem;
}

.reg-card {
  background: var(--white);
  border: 0.5px solid var(--cool-gray);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.reg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.reg-item__label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.reg-item__value {
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.about-timeline {
  background: var(--white);
}

.about-timeline h2 {
  color: var(--navy-deep);
  margin-bottom: 3rem;
  text-align: center;
}

.timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0.5px;
  background: var(--cool-gray);
}

@media (min-width: 600px) {
  .timeline::before { left: 50%; transform: translateX(-50%); }
}

.timeline-item {
  padding-left: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

@media (min-width: 600px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 3rem;
  }

  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 3rem;
  }
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold);
}

@media (min-width: 600px) {
  .timeline-item::before { left: auto; right: -5px; }
  .timeline-item:nth-child(even)::before { right: auto; left: -5px; }
}

.timeline-item__year {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 0.375rem;
}

.timeline-item p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   COMPLIANCE PAGE
   ============================================================ */
.compliance-page-content {
  background: var(--white);
}

.compliance-section {
  padding: clamp(3rem, 6vw, 4rem) 0;
  border-bottom: 0.5px solid var(--cool-gray);
}

.compliance-section:last-child { border-bottom: none; }

.compliance-section h2 {
  color: var(--navy-deep);
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.compliance-section p {
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 720px;
}

.compliance-page-footer-note {
  background: var(--navy-deep);
  padding: 2rem 0;
  text-align: center;
}

.compliance-page-footer-note p {
  color: var(--text-muted-dark);
  font-size: 0.875rem;
}

.compliance-page-footer-note a {
  color: var(--gold-light);
  border-bottom: 0.5px solid rgba(232,213,160,0.4);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404-page {
  min-height: 80vh;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

.error-404-page__num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 700;
  color: rgba(196,154,43,0.15);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.error-404-page h1 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.error-404-page p {
  color: var(--text-muted-dark);
  margin-bottom: 2.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   INNER PAGE BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--off-white);
  border-bottom: 0.5px solid var(--cool-gray);
}

.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover { color: var(--navy-deep); }
.breadcrumb span { margin: 0 0.375rem; }

/* ============================================================
   RESPONSIVE FIXES
   ============================================================ */
@media (max-width: 599px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .contact-cta-banner__actions { flex-direction: column; align-items: center; }
}

@media (min-width: 1440px) {
  .container { max-width: 1280px; }
}

/* ============================================================
   ADMIN BAR OFFSET
   ============================================================ */
.admin-bar #site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #site-header { top: 46px; }
}

/* ============================================================
   WORDPRESS CORE
   ============================================================ */
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }
.aligncenter { margin: 0 auto; display: block; }
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   OFFICES GRID (contact page)
   ============================================================ */
.offices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .offices-grid { grid-template-columns: 1fr; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Office card hover lift */
.office-card:hover {
  box-shadow: 0 6px 28px rgba(11,31,58,.1);
  transform: translateY(-2px);
}
