/* ============================================================
   NY Translation Services — Main Stylesheet
   ============================================================ */

/* ---------- Fonts ---------- */


/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a2744;
  background: #ffffff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Variables ---------- */
:root {
  --navy:      #1a2744;
  --navy-dark: #111c35;
  --gold:      #c9a84c;
  --gold-lt:   #f0e2bb;
  --gray-bg:   #f7f8fc;
  --gray-lt:   #eef0f6;
  --text:      #1a2744;
  --muted:     #6b7280;
  --white:     #ffffff;
  --radius:    8px;
  --shadow:    0 4px 20px rgba(26,39,68,.08);
  --shadow-lg: 0 8px 40px rgba(26,39,68,.14);
  --transition: .25s ease;
  --max-w:     1160px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p  { color: var(--muted); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
a  { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 5rem 0; }
section.tight { padding: 3rem 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-lt);
  box-shadow: 0 2px 12px rgba(26,39,68,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--navy);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: var(--gold); }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); line-height: 1.2; }
.logo-text span { display: block; font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 400; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }

/* ---------- Navigation ---------- */
.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav a {
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  padding: .45rem .65rem;
  border-radius: 5px;
  letter-spacing: .01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); background: var(--gray-lt); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: .5rem 1rem !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--navy) !important; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #b8962e; color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-sm { padding: .6rem 1.25rem; font-size: .82rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .22;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,39,68,.95) 0%, rgba(26,39,68,.7) 60%, rgba(26,39,68,.5) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(201,168,76,.2);
  border: 1px solid rgba(201,168,76,.4);
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.8); margin-bottom: 2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.trust-row {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 500;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* ---------- Section Header ---------- */
.section-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
  display: block;
}
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: .75rem; }
.section-header p { font-size: 1.05rem; max-width: 600px; }
.section-header.center p { margin: 0 auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--gold-lt);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 24px; height: 24px; color: var(--gold); }
.card h3 { margin-bottom: .6rem; }

/* ---------- Grid layouts ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Image sections ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-section.reverse .split-img { order: 2; }
.split-section.reverse .split-text { order: 1; }
.split-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}
.split-img { position: relative; }
.img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.3;
}
.img-badge span { display: block; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Feature image banner ---------- */
.img-banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* ---------- Stats row ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-label { font-size: .82rem; color: rgba(255,255,255,.65); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 10%; right: 10%;
  height: 2px;
  background: var(--gray-lt);
  z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px; height: 64px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: var(--shadow);
}
.step h3 { margin-bottom: .5rem; font-size: 1.05rem; }

/* ---------- Language tags ---------- */
.lang-grid { display: flex; flex-wrap: wrap; gap: .6rem; }
.lang-tag {
  background: var(--gray-bg);
  border: 1px solid var(--gray-lt);
  color: var(--navy);
  padding: .45rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 500;
  transition: all var(--transition);
}
.lang-tag:hover { background: var(--gold-lt); border-color: var(--gold); }
.lang-tag.featured { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.testimonial::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--gold-lt);
  position: absolute;
  top: -.5rem;
  left: 1.5rem;
  line-height: 1;
}
.testimonial-body { font-size: .95rem; color: var(--muted); margin-bottom: 1.25rem; margin-top: .5rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-bg);
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.author-loc { font-size: .78rem; color: var(--muted); }
.stars { color: var(--gold); font-size: .9rem; margin-bottom: .75rem; }

/* ---------- Pricing ---------- */
.pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-lt);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover, .pricing-card.featured { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--gold); border-width: 2px; }
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 50px;
}
.pricing-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin: 1rem 0 .25rem;
}
.pricing-unit { font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.pricing-card h3 { margin-bottom: 0; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li {
  padding: .5rem 0;
  font-size: .88rem;
  color: var(--muted);
  border-bottom: 1px solid var(--gray-lt);
  display: flex; align-items: center; gap: .5rem;
}
.pricing-features li::before { content: '✓'; color: var(--gold); font-weight: 700; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-lt);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left; cursor: pointer;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: .95rem; font-weight: 600; color: var(--navy);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-bg); }
.faq-question.open { background: var(--gray-bg); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; transition: transform var(--transition); }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; color: var(--muted); font-size: .92rem; }

/* ---------- Contact form ---------- */
.contact-form { max-width: 620px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .05em; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: .875rem 1rem;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 120px; }
.upload-label {
  border: 2px dashed var(--gray-lt);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.upload-label:hover { border-color: var(--gold); background: var(--gold-lt); }
.upload-label input { display: none; }
.upload-icon { font-size: 2rem; margin-bottom: .5rem; }
.upload-text { font-size: .88rem; color: var(--muted); }

/* ---------- Contact info blocks ---------- */
.contact-info-block {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px; height: 44px; background: var(--gold-lt); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-info-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .2rem; }
.contact-info-value { font-weight: 600; color: var(--navy); }

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--navy);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .08;
}
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.7); max-width: 540px; margin: 0 auto 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { margin-bottom: 1rem; }
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-text span { color: rgba(255,255,255,.4); }
.footer-about { font-size: .88rem; line-height: 1.7; margin-bottom: 0; }
.footer-col h4 { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1.25rem; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .88rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-contact-line { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; margin-bottom: .75rem; }
.footer-contact-line svg { width: 16px; height: 16px; color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-line a { color: rgba(255,255,255,.65); }
.footer-contact-line a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { color: rgba(255,255,255,.4); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 1.5rem 0;
  font-size: .82rem;
  color: var(--muted);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 .4rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url('images/page-hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: .12;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: .75rem; }
.page-hero p { color: rgba(255,255,255,.7); max-width: 560px; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; }
.checklist li {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .6rem 0; border-bottom: 1px solid var(--gray-lt);
  font-size: .92rem; color: var(--muted);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✓'; color: var(--gold); font-weight: 700; margin-top: .05rem; }

/* ---------- Trust chips ---------- */
.trust-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.trust-chip {
  background: var(--gray-bg);
  border: 1px solid var(--gray-lt);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; gap: .35rem;
}
.trust-chip::before { content: '✓'; color: var(--gold); }

/* ---------- About team ---------- */
.team-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}
.team-photo-wrap img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* ---------- Map image ---------- */
.map-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-frame img { width: 100%; display: block; }

/* ---------- Bg alternating ---------- */
.bg-gray { background: var(--gray-bg); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2 { color: var(--white); }
.bg-navy p { color: rgba(255,255,255,.7); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .site-nav { display: none; flex-direction: column; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 1.5rem; border-bottom: 1px solid var(--gray-lt); box-shadow: var(--shadow-lg); gap: .25rem; }
  .site-nav.open { display: flex; }
  .site-nav a { font-size: .88rem; padding: .65rem 1rem; border-radius: 6px; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .split-section { grid-template-columns: 1fr; gap: 2rem; }
  .split-section.reverse .split-img { order: 0; }
  .split-section.reverse .split-text { order: 0; }
  .img-badge { position: static; margin-top: 1rem; display: inline-block; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 5rem 0; }
  .trust-row { gap: 1rem; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
