/* ============================================
   ETYA Jewelry LLC — Main Stylesheet
   Computer Systems Design & Integration Services
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem; line-height: 1.7; color: #1F2937;
  background: #FAF6F0; min-width: 320px; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 3px solid #C8962E; outline-offset: 2px; border-radius: 2px; }

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: #0D5E3B; color: #FAF6F0; padding: 0.75rem 1.5rem;
  z-index: 9999; font-weight: 600; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
.accent { color: #C8962E; }

.section-tag {
  display: inline-block; font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: #C8962E; margin-bottom: 0.75rem;
  position: relative; padding-left: 2.5rem;
}
.section-tag::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 1.75rem; height: 2px; background: #C8962E; transform: translateY(-50%);
}
.section { padding: 5.5rem 0; }
.section-sub {
  color: #6B7280; max-width: 680px; margin: 0.75rem 0 3rem;
  font-size: 1.05rem; line-height: 1.75;
}

/* --- HEADER / NAV --- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #0D5E3B; box-shadow: 0 2px 20px rgba(0,0,0,0.12);
  transition: background 0.3s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 40px; height: 40px; background: #C8962E; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 1.2rem; color: #0D5E3B; flex-shrink: 0;
}
.brand-name { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: #FAF6F0; }
.brand-name span { color: #C8962E; }

.primary-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.primary-nav a {
  display: block; padding: 0.5rem 1rem; border-radius: 6px;
  color: #FAF6F0; font-size: 0.9rem; font-weight: 500;
  transition: background 0.25s, color 0.25s;
}
.primary-nav a:hover, .primary-nav a.active { background: rgba(200,150,46,0.15); color: #C8962E; }

.menu-toggle { display: none; background: none; border: none; padding: 0.5rem; cursor: pointer; }
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: #FAF6F0;
  margin: 5px 0; transition: transform 0.3s, opacity 0.3s; border-radius: 2px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HERO --- */
.hero {
  padding: 8rem 2rem 4rem; background: linear-gradient(145deg, #0D5E3B 0%, #09442a 60%, #06301d 100%);
  color: #FAF6F0; overflow: hidden; position: relative;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,150,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.8rem;
  font-weight: 600; letter-spacing: 1px; color: #C8962E;
  background: rgba(200,150,46,0.12); border: 1px solid rgba(200,150,46,0.25);
  padding: 0.4rem 1.25rem; border-radius: 50px; margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; max-width: 650px; }
.hero p { font-size: 1.08rem; color: #D1D5DB; max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600;
  font-size: 0.95rem; transition: all 0.3s ease; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: #C8962E; color: #0D5E3B; border-color: #C8962E; }
.btn-primary:hover { background: #dba53a; border-color: #dba53a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(200,150,46,0.3); }
.btn-outline { background: transparent; color: #FAF6F0; border-color: rgba(250,246,240,0.4); }
.btn-outline:hover { border-color: #C8962E; color: #C8962E; }
.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Hero diagram */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-diagram { position: relative; width: 280px; height: 280px; }
.diagram-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%;
  background: #C8962E; color: #0D5E3B;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 1px;
  z-index: 2; box-shadow: 0 0 40px rgba(200,150,46,0.25);
}
.diagram-node {
  position: absolute; width: 90px; padding: 0.6rem 0.5rem;
  background: rgba(15,26,20,0.5); backdrop-filter: blur(4px);
  border: 1px solid rgba(200,150,46,0.2); border-radius: 8px;
  text-align: center; font-size: 0.8rem; font-weight: 600; color: #E5E7EB;
  transition: transform 0.3s, border-color 0.3s;
}
.diagram-node:hover { border-color: #C8962E; transform: scale(1.05); }
.node-a { top: 0; left: 0; } .node-b { top: 0; right: 0; }
.node-c { bottom: 0; left: 0; } .node-d { bottom: 0; right: 0; }
.diagram-lines { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }

/* --- STATS STRIP --- */
.stats-strip { background: #0a4a2f; padding: 2.5rem 0; }
.stats-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item { text-align: center; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; color: #C8962E; }
.stat-suffix { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: #C8962E; }
.stat-label { display: block; font-size: 0.85rem; color: #9CA3AF; margin-top: 0.25rem; font-weight: 500; }

/* --- ABOUT --- */
.about { background: #FAF6F0; }
.about-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: start; }
.about-lede { font-size: 1.1rem; color: #4B5563; line-height: 1.8; margin-bottom: 2rem; }
.about-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.value-card { background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 12px; padding: 1.5rem; transition: border-color 0.3s, box-shadow 0.3s; }
.value-card:hover { border-color: #C8962E; box-shadow: 0 4px 16px rgba(200,150,46,0.1); }
.value-icon { font-size: 1.4rem; color: #C8962E; display: block; margin-bottom: 0.75rem; }
.value-card h4 { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 700; color: #1F2937; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; color: #6B7280; line-height: 1.6; }
.about-identity {}
.identity-card { background: #0D5E3B; border-radius: 16px; padding: 2.5rem; color: #FAF6F0; position: relative; overflow: hidden; }
.identity-card::after { content: ''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(200,150,46,0.08); }
.identity-card h3 { font-size: 1.2rem; margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(200,150,46,0.2); }
.identity-card dt { font-size: 0.75rem; font-family: 'Inter', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: #C8962E; margin-top: 1rem; }
.identity-card dd { font-size: 0.9rem; color: #D1D5DB; margin-top: 0.2rem; }
.identity-card dd a { color: #C8962E; }
.identity-card dd a:hover { text-decoration: underline; }

/* --- SERVICES --- */
.services { background: #F0EBE0; }
.services-gallery { display: flex; flex-direction: column; gap: 1.25rem; }
.service-panel {
  display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem;
  background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 14px;
  padding: 2rem; transition: border-color 0.3s, box-shadow 0.3s;
}
.service-panel:hover { border-color: #C8962E; box-shadow: 0 8px 30px rgba(13,94,59,0.06); }
.panel-visual { display: flex; align-items: flex-start; justify-content: center; padding-top: 0.25rem; }
.panel-icon {
  width: 56px; height: 56px; background: linear-gradient(145deg, #0D5E3B, #0a7a4a);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #FAF6F0;
}
.panel-body h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: #1F2937; margin-bottom: 0.5rem; }
.panel-body p { font-size: 0.92rem; color: #6B7280; line-height: 1.7; margin-bottom: 1rem; }
.panel-features { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.panel-features li {
  font-size: 0.82rem; color: #4B5563; padding: 0.3rem 0.75rem;
  background: #F0EBE0; border-radius: 6px;
}

/* --- CAPABILITIES --- */
.capabilities { background: #FFFFFF; }
.capabilities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.cap-item { padding: 1.75rem; border-radius: 12px; border: 1px solid #E5E7EB; transition: all 0.3s; }
.cap-item:hover { border-color: #0D5E3B; box-shadow: 0 4px 20px rgba(13,94,59,0.06); transform: translateY(-3px); }
.cap-icon { font-size: 1.5rem; color: #C8962E; display: block; margin-bottom: 0.75rem; }
.cap-item h4 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: #1F2937; margin-bottom: 0.5rem; }
.cap-item p { font-size: 0.85rem; color: #6B7280; line-height: 1.6; }

/* --- PROCESS TIMELINE --- */
.process { background: linear-gradient(180deg, #0D5E3B 0%, #083d27 100%); color: #FAF6F0; }
.process .section-tag::before { background: #C8962E; }
.process .section-sub { color: #9CA3AF; }
.process-timeline { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; }
.tl-step { display: grid; grid-template-columns: 60px 1fr; gap: 2rem; position: relative; }
.tl-step::before {
  content: ''; position: absolute; left: 29px; top: 50px;
  bottom: -2rem; width: 2px; background: rgba(200,150,46,0.2);
}
.tl-step:last-child::before { display: none; }
.tl-marker {}
.tl-num {
  width: 60px; height: 60px; border-radius: 50%;
  border: 2px solid #C8962E; background: rgba(200,150,46,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 800;
  font-size: 1.2rem; color: #C8962E;
}
.tl-content h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; color: #FAF6F0; margin-bottom: 0.5rem; }
.tl-content p { font-size: 0.92rem; color: #9CA3AF; line-height: 1.7; }

/* --- CTA BANNER --- */
.cta-banner { background: #0D5E3B; padding: 5rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='%23C8962E' opacity='0.12'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-content h2 { color: #FAF6F0; margin-bottom: 1rem; }
.cta-content p { color: #9CA3AF; font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; }

/* --- CONTACT --- */
.contact { background: #F0EBE0; }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: start; }
.contact-form { background: #FFFFFF; border-radius: 16px; padding: 2.5rem; border: 1px solid #E5E7EB; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #374151; margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #D1D5DB; border-radius: 8px;
  background: #F9FAFB; transition: border-color 0.25s, box-shadow 0.25s;
  color: #1F2937;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #C8962E; box-shadow: 0 0 0 3px rgba(200,150,46,0.12);
  outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-card { background: #0D5E3B; border-radius: 16px; padding: 2.5rem; color: #FAF6F0; }
.contact-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-card address { font-style: normal; color: #D1D5DB; margin-bottom: 1rem; font-size: 0.95rem; line-height: 1.7; }
.contact-card p { font-size: 0.92rem; color: #D1D5DB; margin-bottom: 0.5rem; }
.contact-card p strong { color: #C8962E; }
.contact-card a { color: #C8962E; }
.contact-card a:hover { text-decoration: underline; }

/* --- FOOTER --- */
.site-footer { background: #0a1a12; color: #9CA3AF; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; color: #FAF6F0; display: block; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; }
.footer-nav h4, .footer-legal h4, .footer-contact h4 {
  font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1.5px; color: #FAF6F0; margin-bottom: 1rem;
}
.footer-nav li, .footer-legal li { margin-bottom: 0.5rem; }
.footer-nav a, .footer-legal a { font-size: 0.88rem; color: #9CA3AF; transition: color 0.25s; }
.footer-nav a:hover, .footer-legal a:hover { color: #C8962E; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 0.4rem; }
.footer-contact a { color: #C8962E; }
.footer-bottom { border-top: 1px solid rgba(156,163,175,0.15); padding-top: 1.5rem; }
.footer-bottom p { font-size: 0.82rem; text-align: center; }

/* --- SCROLL ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #0D5E3B; padding: 1rem;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.3s, opacity 0.3s; pointer-events: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { padding: 0.75rem 1rem; width: 100%; border-radius: 8px; }

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

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

  .about-value-grid { grid-template-columns: 1fr; }

  .services-gallery { gap: 1rem; }
  .service-panel { grid-template-columns: 1fr; }
  .panel-visual { justify-content: flex-start; }

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

  .contact-layout { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

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

  .section { padding: 3.5rem 0; }

  .process-timeline { gap: 1.5rem; }
  .tl-step { grid-template-columns: 50px 1fr; gap: 1rem; }
  .tl-num { width: 50px; height: 50px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero { padding: 7rem 1rem 3rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .stat-number { font-size: 2rem; }
  .contact-form { padding: 1.5rem; }
  .contact-card { padding: 1.5rem; }
}
