/* ============================================================
   Anna Book — Custom Stationery
   Design: Industrial Craft Aesthetic
   Colors: Ink Black + Warm Gold + Paper White
   Fonts: Playfair Display (display) + Source Sans 3 (body)
   UBP Compliant — no superlatives, clear branding, honest claims
   ============================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: #1a1a1a;
  background: #faf8f5;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .3s; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.2; }

/* ---------- VARIABLES ---------- */
:root {
  --ink: #1a1a1a;
  --charcoal: #2d2d2d;
  --gold: #f5c518;
  --gold-dark: #c9a30e;
  --gold-light: #fbe98a;
  --warm-white: #faf8f5;
  --paper: #f5f2ed;
  --muted: #7a7672;
  --border: #e5e0d8;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --container: 1200px;
  --nav-h: 95px;
  --transition: .3s ease;
}

/* ---------- UTILITIES ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media(min-width:768px){ .container{ padding:0 2rem; } }
.text-gold { color: var(--gold); }
.text-gold-dark { color: var(--gold-dark); }
.bg-ink { background: var(--ink); }
.bg-charcoal { background: var(--charcoal); }
.bg-paper { background: var(--paper); }
.section-pad { padding: 5rem 0; }
@media(min-width:1024px){ .section-pad{ padding:7rem 0; } }

/* ---------- GOLD GRADIENT TEXT ---------- */
.gold-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- PAPER TEXTURE ---------- */
.paper-texture { position: relative; }
.paper-texture::after {
  content:''; position:absolute; inset:0; pointer-events:none; z-index:1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ---------- CHEVRON PATTERN ---------- */
.chevron-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 0 L40 20 L20 40 L0 20 Z' fill='none' stroke='%23F5C518' stroke-width='0.5' opacity='0.12'/%3E%3C/svg%3E");
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; font-family: 'Source Sans 3', sans-serif;
  font-size: .85rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .12em; border: none; cursor: pointer;
  transition: all var(--transition); border-radius: 2px;
}
.btn-primary { background: var(--gold); color: var(--ink); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-outline { background: transparent; border: 2px solid rgba(245,197,24,.5); color: var(--gold); }
.btn-outline:hover { background: rgba(245,197,24,.1); }
.btn-dark { background: var(--gold); color: var(--ink); }
.btn-dark:hover { background: var(--gold-dark); color: var(--ink); }
.btn svg, .btn i { width: 16px; height: 16px; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.navbar__gold-line { height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); }
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.navbar__logo { display: flex; align-items: center; gap: .65rem; }
.navbar__logo-icon {
  width: 40px; height: 40px; background: var(--ink); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.navbar__logo:hover .navbar__logo-icon { background: var(--charcoal); }
.navbar__logo-icon svg { width: 22px; height: 22px; color: var(--gold); }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1; }
.navbar__logo-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.navbar__logo-sub { font-size: .65rem; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }

.navbar__links { display: none; align-items: center; gap: 2rem; }
@media(min-width:1024px){ .navbar__links{ display:flex; } }
.navbar__links a {
  font-size: .82rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; color: var(--charcoal); position: relative;
}
.navbar__links a::after {
  content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px;
  background: var(--gold); transition: width var(--transition);
}
.navbar__links a:hover, .navbar__links a.active { color: var(--gold-dark); }
.navbar__links a:hover::after, .navbar__links a.active::after { width: 100%; }
.navbar__cta {
  margin-left: .75rem; padding: .6rem 1.5rem; background: var(--gold);
  color: var(--ink); font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; border-radius: 2px;
  transition: background var(--transition);
}
.navbar__cta:hover { background: var(--gold-dark); color: var(--ink); }
.navbar__cta::after { display: none !important; }

/* Mobile menu */
.navbar__burger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.navbar__burger span { display: block; width: 24px; height: 2px; background: var(--ink); transition: all var(--transition); }
@media(min-width:1024px){ .navbar__burger{ display:none; } }
.mobile-menu {
  display: none; position: fixed; top: calc(var(--nav-h) + 3px); left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--border); padding: 1rem 0;
  box-shadow: var(--shadow-lg); z-index: 99;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .85rem 1.5rem; font-size: .9rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--gold-dark); background: rgba(245,197,24,.05); }
.mobile-menu .btn { margin: .75rem 1.5rem; display: block; text-align: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  padding-top: var(--nav-h); overflow: hidden; background: var(--ink);
}
.hero__inner {
  display: grid; grid-template-columns: 1fr; width: 100%; min-height: calc(100vh - var(--nav-h));
}
@media(min-width:768px){ .hero__inner { grid-template-columns: 1fr 1fr; } }
@media(min-width:1024px){ .hero__inner { grid-template-columns: 55% 45%; } }

/* Left side — text content */
.hero__text {
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem 1.5rem; position: relative; z-index: 2;
}
@media(min-width:768px){ .hero__text { padding: 4rem 3rem 4rem 4rem; } }
@media(min-width:1200px){ .hero__text { padding: 4rem 4rem 4rem 6rem; } }

.hero__gold-accent {
  width: 60px; height: 3px; background: var(--gold); margin-bottom: 1.5rem;
  border-radius: 2px;
}
.hero__badge {
  display: inline-block; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3em; color: var(--gold);
  border: 1px solid rgba(245,197,24,.35); padding: .5rem 1.4rem;
  margin-bottom: 1.5rem; border-radius: 2px; width: fit-content;
  backdrop-filter: blur(4px); background: rgba(245,197,24,.06);
}
.hero__title {
  font-size: 2.4rem; font-weight: 700; color: #fff;
  margin-bottom: 1.25rem; line-height: 1.15;
}
@media(min-width:768px){ .hero__title{ font-size:3rem; } }
@media(min-width:1024px){ .hero__title{ font-size:3.8rem; } }
.hero__title .gold-gradient {
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desc {
  font-size: 1.05rem; color: rgba(255,255,255,.75);
  margin-bottom: 2rem; max-width: 480px; line-height: 1.8;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }

.hero__stats {
  display: flex; gap: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem; font-weight: 700; color: var(--gold); line-height: 1;
}
.hero__stat-label {
  font-size: .78rem; color: rgba(255,255,255,.5);
  text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem;
}

/* Right side — image */
.hero__image {
  position: relative; overflow: hidden; display: none;
}
@media(min-width:768px){ .hero__image { display: block; } }
.hero__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 8s ease;
}
.hero:hover .hero__image img { transform: scale(1.04); }
.hero__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--ink) 0%, rgba(26,26,26,.3) 30%, transparent 100%);
  z-index: 1;
}
.hero__image-border {
  position: absolute; top: 2rem; bottom: 2rem; left: 0; width: 3px;
  background: var(--gold); z-index: 2; border-radius: 2px;
}

/* Mobile hero bg */
.hero__mobile-bg {
  display: block; position: absolute; inset: 0; z-index: 0;
}
@media(min-width:768px){ .hero__mobile-bg { display: none; } }
.hero__mobile-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__mobile-bg::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(26,26,26,.88);
}

.hero__fade { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top, var(--warm-white), transparent); z-index: 3; }

/* ---------- SECTION HEADERS ---------- */
.section-label {
  display: block; font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .3em;
  color: var(--gold-dark); margin-bottom: .5rem;
}
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: .75rem; }
@media(min-width:768px){ .section-title{ font-size: 2.5rem; } }
.section-desc { font-size: 1rem; color: var(--muted); max-width: 640px; }
.section-center { text-align: center; }
.section-center .section-desc { margin: 0 auto; }

/* ---------- CARDS ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 2px;
  padding: 2rem; transition: all var(--transition);
}
.card:hover { border-color: rgba(245,197,24,.4); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px; background: rgba(245,197,24,.1);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; transition: background var(--transition);
}
.card:hover .card__icon { background: rgba(245,197,24,.2); }
.card__icon svg { width: 26px; height: 26px; color: var(--gold-dark); }
.card__title { font-size: 1.25rem; font-weight: 600; margin-bottom: .5rem; }
.card__text { font-size: .9rem; color: var(--muted); }

/* ---------- GRID LAYOUTS ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px){ .grid-2{ grid-template-columns: repeat(2,1fr); } }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px){ .grid-3{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .grid-3{ grid-template-columns: repeat(3,1fr); } }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:640px){ .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .grid-4{ grid-template-columns: repeat(4,1fr); } }

/* ---------- TWO-COL LAYOUT ---------- */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media(min-width:1024px){ .two-col{ grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- IMAGE WITH DECORATIVE CORNERS ---------- */
.img-decorated { position: relative; }
.img-decorated img { width: 100%; border-radius: 2px; box-shadow: var(--shadow-lg); }
.img-decorated::before {
  content:''; position:absolute; top:-12px; left:-12px;
  width:60px; height:60px; border-top:2px solid rgba(245,197,24,.5);
  border-left:2px solid rgba(245,197,24,.5); border-radius: 2px 0 0 0;
}
.img-decorated::after {
  content:''; position:absolute; bottom:-12px; right:-12px;
  width:60px; height:60px; border-bottom:2px solid rgba(245,197,24,.5);
  border-right:2px solid rgba(245,197,24,.5); border-radius: 0 0 2px 0;
}

/* ---------- CHECK LIST ---------- */
.check-list { list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .75rem; font-size: .95rem; color: rgba(255,255,255,.75); }
.check-list svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* ---------- PORTFOLIO GRID ---------- */
.portfolio-item { position: relative; overflow: hidden; border-radius: 2px; }
.portfolio-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.portfolio-item:hover img { transform: scale(1.05); }
.portfolio-item__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.5rem;
  background: linear-gradient(to top, rgba(26,26,26,.8), rgba(26,26,26,.2), transparent);
  opacity: 0; transition: opacity .3s ease;
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }
.portfolio-item__overlay h3 { font-size: 1.15rem; color: #fff; margin-bottom: .25rem; }
.portfolio-item__overlay p { font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- TESTIMONIALS ---------- */
.testimonial {
  background: rgba(26,26,26,.5); border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px; padding: 2rem; height: 100%; display: flex; flex-direction: column;
}
.testimonial__stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testimonial__stars svg { width: 16px; height: 16px; fill: var(--gold); color: var(--gold); }
.testimonial__text { font-size: .92rem; color: rgba(255,255,255,.7); font-style: italic; flex: 1; margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial__name { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: #fff; }
.testimonial__role { font-size: .78rem; color: rgba(245,197,24,.7); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--ink); border-radius: 2px; padding: 3.5rem 2.5rem;
  text-align: center; position: relative; overflow: hidden;
}
@media(min-width:768px){ .cta-banner{ padding: 4.5rem 3.5rem; } }
.cta-banner__inner { position: relative; z-index: 2; }
.cta-banner h2 { font-size: 2rem; color: #fff; margin-bottom: .75rem; }
@media(min-width:768px){ .cta-banner h2{ font-size: 2.5rem; } }
.cta-banner p { font-size: 1rem; color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 2rem; }
.cta-banner__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- FOOTER ---------- */
.footer { background: #f0ebe3; color: var(--ink); }
.footer__gold-line { height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 0; }
@media(min-width:768px){ .footer__grid{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .footer__grid{ grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-dark); margin-bottom: 1.25rem; }
.footer p, .footer li, .footer a { font-size: .88rem; color: var(--muted); }
.footer a:hover { color: var(--gold-dark); }
.footer__contact li { display: flex; align-items: flex-start; gap: .75rem; margin-bottom: 1rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  border-top: 1px solid rgba(0,0,0,.1); padding: 2rem 0;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
@media(min-width:768px){ .footer__bottom{ flex-direction:row; justify-content:space-between; } }
.footer__bottom p { font-size: .75rem; color: var(--muted); }
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { font-size: .75rem; color: var(--muted); }
.footer__bottom-links a:hover { color: var(--gold-dark); }
.footer__disclaimer { text-align: center; font-size: .68rem; color: rgba(0,0,0,.35); margin-top: 1rem; padding: 0 1rem; line-height: 1.6; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  position: relative; padding: calc(var(--nav-h) + 4rem) 0 4rem;
  background: var(--ink); text-align: center; overflow: hidden;
}
.page-hero .chevron-bg { position: absolute; inset: 0; opacity: .2; }
.page-hero__content { position: relative; z-index: 2; }
.page-hero__title { font-size: 2.5rem; color: #fff; margin-bottom: .5rem; }
@media(min-width:768px){ .page-hero__title{ font-size: 3rem; } }
.page-hero__sub { font-size: 1.05rem; color: rgba(255,255,255,.65); }

/* ---------- SERVICES PRICING TABLE ---------- */
.price-card {
  background: #fff; border: 1px solid var(--border); border-radius: 2px;
  padding: 2.5rem 2rem; text-align: center; transition: all var(--transition);
  position: relative; overflow: hidden;
}
.price-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.price-card.featured { border-color: var(--gold); }
.price-card.featured::before {
  content:'Popular'; position:absolute; top:16px; right:-30px;
  background: var(--gold); color: var(--ink); font-size:.65rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.1em; padding:.3rem 2.5rem;
  transform: rotate(45deg);
}
.price-card__title { font-size: 1.3rem; font-weight: 600; margin-bottom: .5rem; }
.price-card__price { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .25rem; }
.price-card__unit { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.price-card__features { text-align: left; margin-bottom: 2rem; }
.price-card__features li { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--charcoal); padding: .4rem 0; }
.price-card__features svg { width: 16px; height: 16px; color: var(--gold-dark); flex-shrink: 0; }

/* ---------- CONTACT FORM ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem; border: 1px solid var(--border);
  border-radius: 2px; font-family: 'Source Sans 3', sans-serif;
  font-size: .95rem; color: var(--ink); background: #fff;
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* ---------- LEGAL PAGES ---------- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.5rem; margin: 2.5rem 0 .75rem; color: var(--ink); }
.legal-content h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; color: var(--charcoal); }
.legal-content p { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; list-style: disc; }
.legal-content a { color: var(--gold-dark); text-decoration: underline; }

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

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
