/* ═══════════════════════════════════════════════
   ROSE CLARA MARKETING — GLOBAL STYLES
   Single source of truth for all pages
   ═══════════════════════════════════════════════ */

/* ── VARIABLES ────────────────────────────────── */
:root {
  --carbon:       #1A1F24;
  --pine:         #417F7C;
  --turquoise:    #00D4B8;
  --coral:        #FF685A;
  --white:        #FEFCFA;
  --light:        #f7f5f1;
  --body-dark:    rgba(254,252,250,0.55);
  --body-light:   #666;
  --card-border-light: rgba(0,0,0,0.07);
  --card-border-dark:  rgba(255,255,255,0.07);
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;
  --max-w:        880px;
  --section-pad:  5.5rem 0;
  --r-btn:        3px;
  --r-card:       4px;
}

/* ── RESET ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--sans);
  color: var(--carbon);
  background: var(--white);
  line-height: 1.8;
  font-size: 14px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
nav {
  background: var(--carbon);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.nav-logo-script {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  font-style: italic;
  letter-spacing: 0.01em;
}

.nav-logo-sans {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 500;
  color: rgba(254,252,250,0.3);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: rgba(254,252,250,0.45);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }

.nav-cta {
  font-size: 11.5px;
  font-weight: 500;
  background: var(--turquoise);
  color: #0a2e28;
  padding: 7px 20px;
  border-radius: var(--r-btn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s;
}

.nav-cta:hover { background: #00e8c8; }

/* Hamburger menu */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 4px 0;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}


/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--turquoise);
  color: #0a2e28;
  padding: 13px 28px;
  border-radius: var(--r-btn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #00e8c8;
  box-shadow: 0 2px 16px rgba(0,212,184,0.2);
}

.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(254,252,250,0.65);
  border: 1px solid rgba(254,252,250,0.15);
  padding: 12px 26px;
  border-radius: var(--r-btn);
  letter-spacing: 0.03em;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost-light:hover {
  border-color: rgba(254,252,250,0.4);
  color: var(--white);
}

.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  background: var(--coral);
  color: var(--white);
  padding: 13px 30px;
  border-radius: var(--r-btn);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}

.btn-coral:hover {
  background: #ff7b6f;
  box-shadow: 0 2px 16px rgba(255,104,90,0.2);
}


/* ═══════════════════════════════════════════════
   SECTION INTRO (shared heading pattern)
   ═══════════════════════════════════════════════ */
.section-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.section-intro h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--carbon);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.section-intro p {
  font-size: 14px;
  color: var(--body-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════════ */
.page-hero {
  background: var(--carbon);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.page-hero h1 em {
  color: var(--turquoise);
  font-style: italic;
}

.page-hero p {
  font-size: 15px;
  color: rgba(254,252,250,0.6);
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   TAGS
   ═══════════════════════════════════════════════ */
.tag {
  font-size: 9.5px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.03em;
}

.tag-brand    { background: rgba(0,212,184,0.1);   color: #00b89e;  border: 0.5px solid rgba(0,212,184,0.2); }
.tag-web      { background: rgba(65,127,124,0.12);  color: #5aada9;  border: 0.5px solid rgba(65,127,124,0.2); }
.tag-mktg     { background: rgba(255,104,90,0.08);  color: #ff8a7e;  border: 0.5px solid rgba(255,104,90,0.15); }
.tag-seo      { background: rgba(254,252,250,0.04); color: rgba(254,252,250,0.35); border: 0.5px solid rgba(254,252,250,0.08); }
.tag-workflow  { background: rgba(180,120,60,0.08);  color: #c89050;  border: 0.5px solid rgba(180,120,60,0.15); }
.tag-software  { background: rgba(100,80,180,0.08);  color: #8a70d0;  border: 0.5px solid rgba(100,80,180,0.15); }


/* ═══════════════════════════════════════════════
   FILTER TAGS
   ═══════════════════════════════════════════════ */
.filter-tag {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--r-btn);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  color: rgba(254,252,250,0.4);
}

.filter-tag:hover {
  border-color: rgba(255,255,255,0.15);
  color: rgba(254,252,250,0.7);
}

.filter-tag.active {
  background: var(--turquoise);
  color: #0a2e28;
  border-color: var(--turquoise);
}


/* ═══════════════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════════════ */
.cta-banner {
  background: var(--carbon);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.cta-banner .wrap { position: relative; z-index: 1; }

.cta-rule {
  width: 40px;
  height: 2px;
  background: var(--coral);
  margin: 0 auto 2rem;
  opacity: 0.6;
}

.cta-banner h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 1rem;
}

.cta-banner h2 em {
  color: var(--turquoise);
  font-style: italic;
}

.cta-banner-body {
  font-size: 14px;
  color: var(--body-dark);
  max-width: 460px;
  margin: 0 auto 2.25rem;
  line-height: 1.75;
}


/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--carbon);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo { margin-bottom: 0.75rem; }

.footer-tagline {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: rgba(254,252,250,0.3);
  max-width: 220px;
  line-height: 1.6;
}

.footer-col-label {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254,252,250,0.2);
  margin-bottom: 0.75rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 12.5px;
  color: rgba(254,252,250,0.45);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--turquoise); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-contact a,
.footer-contact span {
  font-size: 12.5px;
  color: rgba(254,252,250,0.45);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--turquoise); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 10.5px;
  color: rgba(254,252,250,0.18);
  letter-spacing: 0.02em;
}

.footer-legal a {
  font-size: 10.5px;
  color: rgba(254,252,250,0.25);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--turquoise); }


/* ═══════════════════════════════════════════════
   RESPONSIVE — GLOBAL
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--carbon);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-links.open { display: flex; }

  .nav-hamburger { display: block; }

  .nav-cta {
    display: none;
  }

  .page-hero h1 { font-size: 2rem; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}
