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

:root {
  /* Core – kept for all pages */
  --navy:        #1c2b4a;
  --navy-hover:  #162238;
  --bg-hero:     #edf0f8;
  --bg-light:    #f4f6fb;
  --white:       #ffffff;
  --text:        #1c2b4a;
  --muted:       #6b7a8d;
  --border:      #dde2ec;
  --accent:      #f59e0b;

  /* Premium palette – new */
  --navy-deep:       #070F17;
  --navy-mid:        #1B2D3E;
  --gold:            #C9A84C;
  --gold-light:      #E8D5A3;
  --cream:           #F7F5F0;
  --cream-dark:      #EFEDE6;
  --text-dark:       #1a1a2e;
  --text-muted:      #6B7280;

  /* Typography – new */
  --font-display:    'Playfair Display', Georgia, serif;
  --font-body-serif: 'Cormorant Garamond', Georgia, serif;
  --font-ui:         'Jost', 'Inter', sans-serif;

  --nav-h: 76px;
  --radius: 14px;
  --shadow-sm: 0 1px 4px rgba(28,43,74,.07);
  --shadow-md: 0 6px 24px rgba(28,43,74,.11);
  --shadow-lg: 0 16px 48px rgba(28,43,74,.15);
  --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* ─── Header ────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-link { flex-shrink: 0; display: flex; align-items: center; gap: 10px; }

.logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 600;
  vertical-align: middle;
  line-height: 1;
}

.logo-img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  display: inline-block;
  padding: 7px 13px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(28,43,74,.06);
}

.btn-parteneri {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 6px;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.btn-parteneri:hover {
  background: var(--navy-hover);
  transform: translateY(-1px);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn-dark {
  display: inline-block;
  padding: 13px 32px;
  background: var(--navy);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-dark:hover {
  background: var(--navy-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(28,43,74,.25);
}

.btn-dark.btn-sm { padding: 10px 22px; font-size: .75rem; margin-top: 20px; }

.btn-outline-navy {
  display: inline-block;
  padding: 11px 22px;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-top: 20px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  display: inline-block;
  padding: 13px 32px;
  background: var(--accent);
  color: #1c1400;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}

.btn-accent:hover {
  background: #e08b09;
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-block;
  padding: 11px 32px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.9);
  transform: translateY(-2px);
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
  background: var(--bg-hero);
  padding: 72px 40px 56px;
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 48px;
}

.hero-content h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -.3px;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ─── Hero Image ────────────────────────────────────────── */
.hero-image-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #1c2b4a 0%, #2d4a7a 40%, #4a6fa5 100%);
  min-height: 420px;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(15, 25, 50, .72) 0%,
    rgba(15, 25, 50, .45) 45%,
    transparent 72%
  );
  pointer-events: none;
}

.hero-overlay-text {
  position: absolute;
  left: 52px;
  bottom: 52px;
  z-index: 2;
  color: var(--white);
  max-width: 520px;
}

.hero-overlay-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-overlay-text h2 em {
  font-style: italic;
}

.hero-overlay-text p {
  font-size: .95rem;
  line-height: 1.75;
  opacity: .88;
}

/* ─── Container & Sections ──────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 88px 40px;
}

.section-light {
  background: var(--bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(28,43,74,.08);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.2px;
  margin-bottom: 14px;
}

.section-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ─── Service Cards ─────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-featured {
  border-color: var(--navy);
  background: linear-gradient(160deg, rgba(28,43,74,.04) 0%, var(--white) 60%);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* ─── Advantages ────────────────────────────────────────── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.adv-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.advantage-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── CTA ───────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(130deg, #162238 0%, var(--navy) 55%, #2d4a7a 100%);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
}

.cta-inner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-inner p {
  font-size: 1rem;
  opacity: .8;
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: #0f1824;
  color: #8596ae;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
}

.footer-brand .footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
  opacity: .9;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: .86rem;
  line-height: 1.75;
  max-width: 260px;
}

.footer-col h4 {
  color: #e2e8f0;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .86rem;
  color: #8596ae;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid #1e2d42;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a,
.footer-bottom > span {
  color: #5a6e85;
  transition: color var(--transition);
}

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

/* ─── Devino colaborator ─────────────────────────────────── */
.colaborator-section {
  padding: 88px 40px;
  background: var(--white);
}

.colaborator-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.colaborator-text h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.colaborator-text p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 14px;
  max-width: 420px;
}

.colaborator-text p a {
  color: #2563eb;
  transition: color var(--transition);
}

.colaborator-text p a:hover { color: var(--navy); }

.colaborator-image {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.colaborator-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

/* ─── Servicii cu imagini ────────────────────────────────── */
.services-section {
  padding: 88px 40px;
  background: var(--bg-light);
}

.services-header {
  text-align: center;
  margin-bottom: 56px;
}

.services-header h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  margin-bottom: 16px;
}

.services-header p {
  font-size: .95rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.service-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #d1d9e6;
}

.service-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #c8d2e3;
}

.service-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  padding: 12px 16px;
  font-size: .72rem;
  letter-spacing: .08em;
}

.service-features {
  list-style: none;
  text-align: center;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-features li {
  font-size: .83rem;
  color: #2563eb;
  line-height: 1.6;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .advantages-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid    { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 900px) {
  .cards-grid        { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .footer-inner      { grid-template-columns: 1fr 1fr; }
  .nav-links         { display: none; }
  .nav-inner         { padding: 0 24px; }
  .colaborator-inner { grid-template-columns: 1fr; gap: 40px; }
  .colaborator-text p { max-width: 100%; }
}

@media (max-width: 640px) {
  .hero             { padding: 48px 20px 40px; }
  .section          { padding: 60px 20px; }
  .colaborator-section,
  .services-section { padding: 60px 20px; }
  .hero-overlay-text { left: 24px; bottom: 28px; }
  .advantages-grid  { grid-template-columns: 1fr; }
  .services-grid    { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .footer-inner     { grid-template-columns: 1fr; padding: 40px 24px 28px; }
  .footer-bottom    { flex-direction: column; text-align: center; padding: 20px 24px; }
  .footer-legal     { flex-direction: column; gap: 8px; }
  .cta-section      { padding: 60px 24px; }
}

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: #c5cedd; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9aabc0; }
