/* ==========================================================================
   G R Sons Trading — Design System
   ========================================================================== */

:root {
  --brand: #a60d28;
  --brand-dark: #7c0a1e;
  --brand-darker: #560715;
  --brand-light: #d94a63;
  --brand-tint: #fbe9ec;
  --gold: #b9922f;
  --ink: #191b1f;
  --ink-soft: #55585f;
  --ink-faint: #8a8d94;
  --bg: #ffffff;
  --bg-soft: #f8f6f5;
  --bg-soft-2: #f1eeec;
  --border: #e8e4e2;
  --white: #ffffff;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(25, 27, 31, 0.06), 0 1px 1px rgba(25, 27, 31, 0.04);
  --shadow: 0 8px 24px rgba(25, 27, 31, 0.08);
  --shadow-lg: 0 24px 60px rgba(25, 27, 31, 0.16);
  --container: 1180px;
  --ff-heading: 'Poppins', 'Inter', sans-serif;
  --ff-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}

p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { position: relative; }
section[id] { scroll-margin-top: 104px; }

.section-pad { padding: 96px 0; }
@media (max-width: 768px) {
  .section-pad { padding: 64px 0; }
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.section-head h2 { font-size: 36px; margin-bottom: 14px; }
.section-head p { font-size: 17px; margin: 0 auto; }

@media (max-width: 640px) {
  .section-head h2 { font-size: 28px; }
}

/* ---------------------------------- Buttons ---------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn i { font-size: 16px; }

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(166, 13, 40, 0.28);
}
.btn-primary:hover {
  background: var(--brand-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(166, 13, 40, 0.34);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: #000; color: var(--white); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------------------------------- Header ---------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark img { height: 40px; width: auto; }
.brand-mark .site-logo {
  height: 68px;
  width: auto;
}
.brand-mark .brand-name {
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.brand-mark .brand-name span {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.nav-phone i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-tint);
  color: var(--brand);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-phone span { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { gap: 10px; }

  .nav-wrap.is-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 12px 24px 24px;
    box-shadow: var(--shadow);
  }
  .nav-wrap.is-open .nav-links a { width: 100%; padding: 12px 0; }

  .nav-wrap.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-wrap.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-wrap.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .brand-mark { gap: 8px; }
  .brand-mark img { height: 30px; }
  .brand-mark .site-logo { height: 50px; }
  .brand-mark .brand-name { font-size: 13px; white-space: nowrap; }
  .brand-mark .brand-name span { display: none; }
  .nav-phone { display: none; }
  .nav-actions .btn { padding: 10px 16px; font-size: 13px; }
}

/* ---------------------------------- Hero ---------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 96px;
  overflow: hidden;
  background-color: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url('../images/default.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 8, 12, 0.78) 0%, rgba(21, 8, 12, 0.72) 45%, rgba(9, 4, 6, 0.92) 100%),
    linear-gradient(100deg, rgba(86, 7, 21, 0.55) 0%, rgba(9, 4, 6, 0.2) 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 70px 0 90px;
}

.hero-content .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-content h1 {
  color: var(--white);
  font-size: 52px;
  margin-bottom: 20px;
}
.hero-content .lead {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  max-width: 620px;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .hero { min-height: 0; }
  .hero-content { padding: 30px 20px 50px; text-align: center; }
  .hero-content h1 { font-size: 30px; margin-bottom: 14px; }
  .hero-content .lead { font-size: 15.5px; margin-bottom: 24px; margin-left: auto; margin-right: auto; }
  .hero-content .eyebrow { font-size: 12px; padding: 6px 14px; margin-bottom: 14px; }
}

@media (max-width: 400px) {
  .hero-content h1 { font-size: 26px; }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}
@media (max-width: 640px) {
  .hero-cta { gap: 12px; margin-bottom: 26px; justify-content: center; }
  .hero-cta .btn { width: 100%; }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}
.hero-meta i {
  color: var(--gold);
  font-size: 16px;
}
@media (max-width: 640px) {
  .hero-meta { flex-direction: column; align-items: center; gap: 10px; }
  .hero-meta li { font-size: 13px; justify-content: center; }
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,255,255,0));
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { transform: scaleY(0.2); opacity: 0.2; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.2); opacity: 0.2; transform-origin: bottom; }
}
@media (max-width: 640px) {
  .scroll-cue { display: none; }
}

/* ---------------------------------- About ---------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.about-media-badge i {
  color: var(--brand);
  font-size: 26px;
}
.about-media-badge strong { display: block; font-size: 14px; color: var(--ink); }
.about-media-badge span { font-size: 12.5px; color: var(--ink-faint); }

.about-copy .eyebrow { margin-bottom: 16px; }
.about-copy h2 { font-size: 34px; }
.about-copy p { font-size: 16px; }

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}
.about-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink);
  font-weight: 500;
}
.about-points i {
  color: var(--brand);
  margin-top: 3px;
}
@media (max-width: 480px) {
  .about-points { grid-template-columns: 1fr; }
}

/* ---------------------------------- Services ---------------------------------- */

.bg-soft { background: var(--bg-soft); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 940px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
}
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------------------------------- Why us ---------------------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
@media (max-width: 940px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-card { text-align: center; padding: 10px 12px; }
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; }
.feature-card p { font-size: 14px; margin: 0 auto; }

/* ---------------------------------- Process ---------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
  position: relative;
}
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

.process-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--border);
}
.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-step p { font-size: 14px; margin: 0; }

/* ---------------------------------- Contact ---------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  height: 100%;
}
.contact-panel h3 { color: var(--white); font-size: 22px; }
.contact-panel > p { color: rgba(255,255,255,0.7); font-size: 15px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-item:first-of-type { margin-top: 12px; }
.contact-item i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 15px; color: var(--white); margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: rgba(255, 255, 255, 0.72); }
.contact-item a:hover { color: var(--white); }

.contact-panel .btn { margin-top: 26px; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form > p { font-size: 14.5px; margin-bottom: 26px; }

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

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--ff-body);
  font-size: 14.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* ---------------------------------- Map ---------------------------------- */

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-top: 60px;
}
.map-frame iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ---------------------------------- CTA band ---------------------------------- */

.cta-band {
  background: linear-gradient(120deg, var(--brand-darker), var(--brand));
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--white);
}
.cta-band h2 { color: var(--white); font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 700px) {
  .cta-band { padding: 36px 28px; text-align: center; justify-content: center; }
  .cta-band-actions { justify-content: center; }
}

/* ---------------------------------- Footer ---------------------------------- */

.site-footer {
  background: #101114;
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
.footer-brand .brand-mark .brand-name { color: var(--white); }
.footer-brand .brand-mark .brand-name span { color: rgba(255,255,255,0.5); }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 14.5px; margin-top: 16px; max-width: 320px; }

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; font-size: 14.5px; }
.footer-col ul li a { color: rgba(255, 255, 255, 0.6); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li i { width: 18px; color: var(--gold); margin-right: 6px; }

.footer-bottom {
  padding-top: 26px;
  padding-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); }

@media (max-width: 760px) {
  .footer-bottom { justify-content: flex-start; flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* A small amount of trailing space; the header itself un-sticks near the
   very bottom of the page (see main.js) so it can never overlap footer
   content, this is just a comfortable minimum gap. */
.site-footer { padding-bottom: 24px; }

.site-header.is-released {
  position: absolute;
}

/* ---------------------------------- Scroll reveal ---------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------- Utilities ---------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--brand);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; color: var(--white); }
