/* ==========================================================================
   FAY EMPIRE - Corporate Website Stylesheet
   Design Era: Classic 2010s Corporate B2B Portal (Clean, Low Overhead, No AI)
   Palette: Forest Deep Green (#1A3B2B), Gold/Sand (#C5A880), Cream (#F9F8F5)
   ========================================================================== */

/* --- CSS Reset & Global Typography --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #2b2b2b;
  background-color: #f5f3ec;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, "Times New Roman", Times, serif;
  color: #173626;
  font-weight: bold;
  line-height: 1.3;
}

h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }

p {
  margin-bottom: 12px;
}

a {
  color: #1a4d33;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #a88a5e;
}

ul, ol {
  margin-left: 22px;
  margin-bottom: 12px;
}

li {
  margin-bottom: 5px;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Top Utility Bar --- */
.top-utility-bar {
  background: #12281d;
  color: #d8dfdb;
  font-size: 12px;
  border-bottom: 2px solid #b89a6c;
  padding: 6px 0;
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-utility-left, .top-utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-utility-bar a {
  color: #e5ede7;
  font-weight: bold;
}

.top-utility-bar a:hover {
  color: #e2cb9f;
  text-decoration: underline;
}

.util-badge {
  background: #254d37;
  color: #f7eedb;
  padding: 2px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: bold;
  border: 1px solid #437055;
}

/* --- Main Brand Header --- */
.main-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #ddd2c4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-logo-area {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex: 1 1 auto;
  max-width: 520px;
}

.brand-logo-img {
  width: 460px;
  max-width: 100%;
  height: auto;
  display: block;
}

.header-contact-box {
  text-align: right;
  border-left: 2px solid #eee5d9;
  padding-left: 20px;
  flex: 0 0 auto;
}

.header-phone-title {
  font-size: 11px;
  color: #6d665a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-phone-number {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: bold;
  color: #173626;
  display: block;
}

.header-email-links {
  font-size: 12px;
  color: #4a5c51;
  margin-top: 3px;
}

.header-email-links a {
  color: #1a4d33;
  margin-left: 4px;
}

/* --- Navigation Menu Bar (Classic 2010s Corporate Menu) --- */
.main-nav-bar {
  background: linear-gradient(to bottom, #234c37 0%, #173626 100%);
  border-top: 1px solid #3d6e52;
  border-bottom: 3px solid #b89a6c;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-right: 1px solid #132b1e;
  border-left: 1px solid #2f5f46;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.nav-item:first-child .nav-link {
  border-left: none;
}

.nav-link:hover, .nav-link.active {
  background: #11271b;
  color: #e6ce9e;
  text-decoration: none;
}

.nav-cta-item {
  margin-left: auto;
}

.nav-cta-item .nav-link {
  background: linear-gradient(to bottom, #d4b27d 0%, #a88450 100%);
  color: #12281d;
  border-left: 1px solid #e2c59a;
  border-right: none;
  font-weight: bold;
}

.nav-cta-item .nav-link:hover {
  background: #c39d67;
  color: #000;
}

/* --- Hero Banner --- */
.hero-banner {
  background: #ffffff;
  border-bottom: 1px solid #ded5c9;
  padding: 30px 0 35px;
  background-image: linear-gradient(to bottom, #ffffff, #f7f5ed);
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
}

.hero-content-wrapper {
  background: #ffffff;
  border: 1px solid #ddd5c7;
  padding: 32px 36px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

.hero-badge-row {
  margin-bottom: 12px;
}

.hero-tag {
  background: #efe8dc;
  color: #5c4728;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid #d4c4af;
  display: inline-block;
}

.hero-headline {
  font-size: 32px;
  color: #173626;
  line-height: 1.25;
  margin-bottom: 12px;
}

.hero-subhead {
  font-size: 16px;
  font-family: Georgia, serif;
  color: #8c6d3b;
  font-weight: normal;
  margin-bottom: 15px;
}

.hero-intro {
  font-size: 14px;
  color: #444;
  margin-bottom: 22px;
  line-height: 1.6;
}

.hero-key-focus {
  background: #f0f6f2;
  border-left: 4px solid #1a4d33;
  padding: 10px 14px;
  margin-bottom: 22px;
  font-size: 13px;
  color: #1e3f2d;
  font-weight: 600;
}

.hero-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(to bottom, #23553a 0%, #153826 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 3px;
  border: 1px solid #0f291c;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  box-shadow: 0 2px 3px rgba(0,0,0,0.12);
}

.btn-primary:hover {
  background: #153826;
  color: #f7eedb;
  text-decoration: none;
}

.btn-secondary {
  background: linear-gradient(to bottom, #efebe4 0%, #ded7cb 100%);
  color: #3b352b;
  font-size: 13px;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 3px;
  border: 1px solid #c2b9aa;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: #d8cfc0;
  text-decoration: none;
  color: #173626;
}

.hero-flyer-card {
  background: #ffffff;
  border: 1px solid #dcd4c7;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  border-radius: 4px;
  text-align: center;
}

.hero-flyer-thumb-wrapper {
  position: relative;
  overflow: hidden;
  border: 1px solid #d4cab9;
  border-radius: 3px;
  background: #fdfbf7;
}

.hero-flyer-thumb-wrapper img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: top center;
  display: block;
}

.hero-flyer-caption {
  font-size: 12px;
  color: #555;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-flyer-caption a {
  font-weight: bold;
  color: #173626;
}

/* --- Section Formatting --- */
.content-section {
  padding: 40px 0;
  border-bottom: 1px solid #e2dad0;
}

.bg-white {
  background: #ffffff;
}

.bg-light {
  background: #f8f6f0;
}

.section-header {
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0d8cc;
}

.section-header h2 {
  font-size: 22px;
  color: #173626;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 70px;
  height: 2px;
  background: #a88450;
}

.section-subtitle {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: #70624d;
  margin-top: 4px;
}

/* --- About & Pillars Grid --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.company-summary-box {
  background: #fcfbf8;
  border: 1px solid #ded5c8;
  padding: 20px;
  border-radius: 3px;
}

.vision-mission-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vm-card {
  background: #ffffff;
  border: 1px solid #d9d1c3;
  border-left: 4px solid #1a4d33;
  padding: 14px 16px;
  border-radius: 2px;
}

.vm-card h4 {
  margin-bottom: 5px;
  color: #1a4d33;
}

/* --- Business Activities / Catalogue Cards --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 15px;
}

.catalog-card {
  background: #ffffff;
  border: 1px solid #ded6c9;
  border-top: 4px solid #1a4d33;
  border-radius: 3px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.catalog-card.featured-card {
  border-top: 4px solid #b89a6c;
  background: #fdfdf9;
}

.card-badge {
  align-self: flex-start;
  background: #d64d36;
  color: #ffffff;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.catalog-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #ede7dc;
}

.card-thumb {
  margin-bottom: 12px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #e2dad0;
  height: 150px;
  background: #f0eee6;
}

.card-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

.catalog-card ul {
  list-style-type: square;
  color: #333;
  flex-grow: 1;
  margin-left: 18px;
}

.catalog-card li {
  margin-bottom: 8px;
}

.card-footer-note {
  margin-top: 15px;
  background: #f7f4ee;
  padding: 10px;
  border: 1px solid #e8e1d5;
  font-size: 12px;
  color: #4b453a;
  border-radius: 2px;
}

/* --- Business Services Workflow --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-box {
  background: #ffffff;
  border: 1px solid #ddd5c7;
  padding: 20px;
  border-radius: 3px;
}

.service-box h3 {
  color: #1a4d33;
  font-size: 17px;
  margin-bottom: 10px;
}

.step-flow-box {
  background: #f1f6f3;
  border: 1px solid #c7dcd0;
  padding: 12px;
  border-radius: 3px;
  margin: 12px 0;
  font-weight: bold;
  font-size: 12px;
  color: #173e2a;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.step-item {
  background: #ffffff;
  padding: 4px 8px;
  border: 1px solid #b2cfbe;
  border-radius: 2px;
}

.step-arrow {
  color: #629074;
}

/* --- Why Fay Empire 4 Pillars --- */
.pillars-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 15px;
}

.pillar-item {
  background: #ffffff;
  border: 1px solid #dcd4c7;
  padding: 16px;
  text-align: center;
  border-radius: 3px;
}

.pillar-icon {
  font-size: 26px;
  margin-bottom: 8px;
  display: block;
}

.pillar-item h4 {
  color: #173626;
  margin-bottom: 6px;
  font-size: 14px;
}

.pillar-item p {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* --- Interactive WhatsApp Inquiry Builder --- */
.inquiry-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.inquiry-form-card {
  background: #ffffff;
  border: 1px solid #d5cbbe;
  padding: 24px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.inquiry-form-card legend {
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: bold;
  color: #173626;
  padding: 0 8px;
}

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

.form-group label {
  display: block;
  font-weight: bold;
  font-size: 13px;
  color: #2b2b2b;
  margin-bottom: 5px;
}

.form-group .field-hint {
  font-size: 11px;
  color: #777;
  font-weight: normal;
  margin-left: 5px;
}

.form-control {
  width: 100%;
  padding: 9px 11px;
  font-size: 13px;
  border: 1px solid #c8bfb2;
  border-radius: 3px;
  background-color: #fdfdfc;
  color: #2b2b2b;
  font-family: Arial, sans-serif;
}

.form-control:focus {
  outline: none;
  border-color: #1a4d33;
  background-color: #ffffff;
  box-shadow: 0 0 4px rgba(26, 77, 51, 0.25);
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #fbf9f5;
  padding: 10px;
  border: 1px solid #e8e1d6;
  border-radius: 3px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  cursor: pointer;
}

/* Inquiry Form Progressive Disclosure / Toggle */
.inquiry-toggle-box {
  margin: 18px 0 10px;
  text-align: center;
  padding: 14px;
  background: #f7f4ee;
  border: 1px dashed #cfc2ad;
  border-radius: 4px;
}

.btn-proceed-inquiry {
  background: linear-gradient(to bottom, #d4b27d 0%, #b58e53 100%);
  color: #173626;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 22px;
  border: 1px solid #9e7a43;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.15s ease;
}

.btn-proceed-inquiry:hover {
  background: #c7a167;
  color: #0b1f14;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

.inquiry-toggle-note {
  display: block;
  font-size: 11.5px;
  color: #6a6154;
  margin-top: 6px;
}

.inquiry-details-collapsed {
  display: none;
}

.inquiry-details-expanded {
  display: block;
  animation: fadeInDetails 0.25s ease-out;
  margin-top: 15px;
}

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

/* Form Action Buttons */
.form-actions-bar {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e5ded3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-actions-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-whatsapp {
  background: linear-gradient(to bottom, #29d86b 0%, #1eaf53 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  border-radius: 3px;
  border: 1px solid #178a42;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1cb554;
  color: #ffffff;
  text-decoration: none;
}

.btn-copy {
  background: #ffffff;
  color: #333;
  border: 1px solid #b8aead;
  padding: 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-copy:hover {
  background: #f4efe7;
}

.btn-email-alt {
  background: #f7f5ed;
  color: #1a4d33;
  border: 1px solid #c7beaf;
  padding: 8px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-email-alt:hover {
  background: #eee8dc;
  text-decoration: none;
}

.copy-status-msg {
  font-size: 11px;
  color: #277943;
  text-align: center;
  height: 16px;
  font-weight: bold;
}


/* --- Footer --- */
.site-footer {
  background: #152d21;
  color: #c9d5cd;
  font-size: 13px;
  border-top: 4px solid #b89a6c;
  padding-top: 35px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 30px;
  padding-bottom: 25px;
}

.footer-col h4 {
  color: #f7eedb;
  font-size: 15px;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #274937;
}

.footer-col p {
  font-size: 12px;
  line-height: 1.6;
  color: #b2c2b7;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 6px;
  font-size: 12px;
}

.footer-col a {
  color: #c4d8cc;
}

.footer-col a:hover {
  color: #f7eedb;
  text-decoration: underline;
}

.footer-bottom-bar {
  background: #0d1e16;
  padding: 14px 0;
  font-size: 11px;
  color: #8c9e93;
  border-top: 1px solid #1f3b2d;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Responsive Adjustments (for 2010s websites with mobile friendliness) --- */
@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .inquiry-wrapper,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .header-contact-box {
    text-align: center;
    border-left: none;
    padding-left: 0;
    margin-top: 10px;
  }

  .nav-cta-item {
    margin-left: 0;
    width: 100%;
  }
}

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