@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --red: #c8102e;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #f5f5f5;
  --mid-gray: #666;
  --border: #e0e0e0;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--black);
  color: var(--white);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
}
.topbar a:hover { opacity: 0.75; }
.topbar .icon {
  width: 16px; height: 16px;
  fill: var(--white);
  flex-shrink: 0;
}

/* ── NAVIGATION ── */
nav {
  background: var(--white);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 14px 0;
}
.logo-wrap img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 28px 0;
  display: block;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  padding: 30px 40px;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  align-self: flex-end;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--dark);
  margin-bottom: 40px;
}
.mobile-menu a {
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  color: var(--dark);
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.05em;
}
.mobile-menu a.active { color: var(--red); }

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #111;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1556761175-4b46a572b786?w=1600&q=80');
  background-size: cover;
  background-position: center top;
  opacity: 0.48;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 60px 24px;
  max-width: 800px;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0;
}

.hero-title-red {
  font-family: 'Playfair Display', serif;
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 700;
  font-style: italic;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
}

.hero-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin: 24px auto;
  max-width: 500px;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 24px;
  opacity: 0.95;
}

.hero-tags {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2vw, 18px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.05em;
  opacity: 0.9;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  display: inline-block;
  padding: 0 20px 8px;
}

/* ── SECTIONS ── */
section {
  padding: 90px 40px;
}

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

/* ── ABOUT SECTION (home) ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 12px;
}

h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--dark);
}

.section-body {
  color: var(--mid-gray);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.section-body strong { color: var(--dark); }

.btn {
  display: inline-block;
  padding: 13px 32px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  margin-top: 12px;
}
.btn:hover {
  background: #a00d23;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* Myflaxs logo in about */
.myflaxs-logo {
  display: block;
  margin: 20px 0;
}
.myflaxs-logo img {
  height: 64px;
  width: auto;
}

/* ── HOW IT WORKS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.step-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow 0.25s;
}
.step-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.step-number {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 700;
  color: rgba(200,16,46,0.08);
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.step-body {
  color: var(--mid-gray);
  font-size: 14px;
  line-height: 1.75;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 80px 40px;
}

.cta-banner .eyebrow {
  color: var(--red);
  margin-bottom: 16px;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.app-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: border-color 0.2s, background 0.2s;
}
.app-badge:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.app-badge svg { width: 20px; height: 20px; fill: white; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 80px 40px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,16,46,0.15) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--red); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 400;
  line-height: 1.1;
  margin-top: 8px;
}
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--white); }

/* ── ABOUT PAGE ── */
.about-text-section { max-width: 820px; }
.two-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 48px 0;
}
.two-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ── SERVICES PAGE ── */
.services-list {
  max-width: 860px;
}
.service-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.service-item:first-child { padding-top: 0; }
.service-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.service-number {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: var(--red);
  background: rgba(200,16,46,0.07);
  padding: 4px 10px;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 4px;
}
.service-item p {
  color: var(--mid-gray);
  font-size: 15px;
  line-height: 1.8;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 60px 0;
}
.stat-box {
  border-left: 3px solid var(--red);
  padding-left: 24px;
}
.stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--mid-gray);
  margin-top: 6px;
}

/* ── CONTACTS PAGE ── */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-item h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}
.contact-item a, .contact-item p {
  color: var(--mid-gray);
  font-size: 15px;
  text-decoration: none;
}
.contact-item a:hover { color: var(--red); }

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--mid-gray);
}
.hours-grid .day { font-weight: 500; color: var(--dark); }
.hours-grid .time { color: var(--mid-gray); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 8px;
}
.contact-form p.form-desc {
  font-size: 14px;
  color: var(--mid-gray);
  margin-bottom: 8px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dark);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-vendor {
  font-size: 14px;
  color: var(--mid-gray);
  font-weight: 500;
  margin-bottom: -8px;
}

/* ── MAP ── */
.map-section { padding-top: 0; }
.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 70px 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 60px;
  max-width: 1160px;
  margin: 0 auto;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-contact-list li {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.6;
}
.footer-contact-list a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}
.footer-contact-list a:hover { color: var(--white); }
.footer-contact-list svg {
  width: 14px; height: 14px;
  fill: var(--red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.footer-app-badges {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all 0.2s;
}
.footer-app-badge:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ── SCROLL TO TOP ── */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
  z-index: 99;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover { transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  section { padding: 60px 24px; }
  .topbar { padding: 10px 24px; gap: 24px; }
  nav { padding: 0 24px; }

  .about-grid,
  .contacts-grid { grid-template-columns: 1fr; gap: 48px; }

  .steps-grid { grid-template-columns: 1fr; gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .two-images { grid-template-columns: 1fr; }
  .two-images img { height: 220px; }

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

  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .hero { min-height: 70vh; }
  .page-hero { padding: 60px 24px; }

  footer { padding: 50px 24px 0; }
}

@media (max-width: 500px) {
  .topbar { flex-direction: column; gap: 8px; padding: 12px 16px; font-size: 12px; }
  .hero-title { font-size: 52px; }
  .hero-title-red { font-size: 52px; }
}
