/*
Theme Name: CREA FIN
Theme URI: https://www.creafin.si/
Author: CREA FIN
Description: Prilagojena predstavitvena tema za CREA FIN – poslovnega partnerja za premišljeno rast.
Version: 1.0.1
Text Domain: crea-fin
*/

:root {
  --ink: #171b18;
  --ink-soft: #4c554f;
  --paper: #fcfdfb;
  --mist: #f0f6e8;
  --lime: #9bcf2d;
  --lime-deep: #6f9e16;
  --lime-pale: #dcedbb;
  --line: #dce5d4;
  --white: #ffffff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif;
  --shadow: 0 20px 60px rgba(37, 54, 24, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.wrap { width: min(1140px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 0;
  color: var(--white);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; text-decoration: none; letter-spacing: .03em; }
.brand img { width: 48px; height: 48px; object-fit: contain; background: var(--white); padding: 6px; }
.brand-wordmark { font-size: 17px; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 23px; align-items: center; }
.site-nav a { color: var(--white); text-decoration: none; font-size: 14px; font-weight: 700; }
.site-nav a:hover, .site-nav a:focus { color: var(--lime-pale); }

.hero {
  position: relative;
  min-height: 760px;
  color: var(--white);
  isolation: isolate;
  display: grid;
  align-items: end;
  padding: 175px 0 94px;
  overflow: hidden;
  background: #23331d url('assets/crea-fin-hero-business-office.jpg') center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,22,11,.92) 0%, rgba(13,29,14,.74) 45%, rgba(16,38,15,.16) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; inset: auto auto -100px -100px; width: 420px; height: 420px; border: 80px solid rgba(155,207,45,.55); transform: rotate(45deg); }
.hero-copy { max-width: 720px; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; margin: 0 0 24px; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--lime); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.08; }
h1 { max-width: 700px; font-family: var(--serif); font-size: clamp(48px, 7vw, 82px); letter-spacing: -.045em; }
.hero .lead { max-width: 630px; margin: 28px 0 36px; color: rgba(255,255,255,.9); font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border: 1px solid transparent; border-radius: 0; background: var(--lime); color: var(--ink); font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease; }
.button:hover, .button:focus { transform: translateY(-2px); background: #b8e75b; }
.button--ghost { border-color: rgba(255,255,255,.65); background: transparent; color: var(--white); }
.button--ghost:hover, .button--ghost:focus { background: var(--white); color: var(--ink); }

.intro { padding: 116px 0 102px; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: start; gap: 84px; }
.intro h2, .section-heading h2 { font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); letter-spacing: -.04em; }
.intro p { max-width: 680px; margin: 8px 0 0; color: var(--ink-soft); font-size: 21px; line-height: 1.65; }

.services { padding: 104px 0; background: var(--mist); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 46px; }
.section-heading p { max-width: 420px; margin: 0; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 270px; padding: 30px 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.55); }
.service-no { display: block; color: var(--lime-deep); font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.service-card h3 { margin: 44px 0 14px; font-size: 21px; }
.service-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.who { padding: 118px 0; background: var(--white); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.who-copy p { margin: 23px 0 0; color: var(--ink-soft); font-size: 18px; }
.point-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.point-list li { padding: 20px 0 20px 32px; position: relative; border-bottom: 1px solid var(--line); font-weight: 700; }
.point-list li::before { position: absolute; left: 0; content: "→"; color: var(--lime-deep); font-size: 23px; line-height: .9; }

.approach { position: relative; padding: 124px 0; background: #edf5df; color: var(--ink); overflow: hidden; }
.approach::after { position: absolute; content: ""; top: -180px; right: -160px; width: 480px; height: 480px; border: 88px solid rgba(155,207,45,.34); transform: rotate(45deg); }
.approach-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; }
.approach h2 { font-family: var(--serif); font-size: clamp(42px, 5vw, 64px); letter-spacing: -.04em; }
.approach .eyebrow { color: var(--lime-deep); }
.approach-copy { font-size: 19px; color: var(--ink-soft); }
.approach-copy p { margin: 0 0 24px; }
.value-words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.value-words span { padding: 9px 13px; border: 1px solid #c9dcb2; background: rgba(255,255,255,.65); font-size: 13px; font-weight: 800; }

.locations { padding: 110px 0; background: var(--paper); }
.locations-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: end; }
.locations h2 { font-family: var(--serif); font-size: clamp(40px, 5vw, 62px); letter-spacing: -.04em; }
.office-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.office { padding: 32px; background: var(--white); border-top: 4px solid var(--lime); box-shadow: 0 14px 32px rgba(24,36,19,.08); }
.office h3 { font-size: 22px; }
.office p { margin: 14px 0 0; color: var(--ink-soft); }
.office a { display: inline-block; margin-top: 16px; color: var(--ink); font-weight: 800; text-decoration-color: var(--lime); text-decoration-thickness: 3px; }

.contact { padding: 115px 0; background: var(--lime); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.contact h2 { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); letter-spacing: -.04em; }
.contact-intro { margin: 22px 0 0; max-width: 440px; font-size: 19px; }
.contact-details { margin-top: 34px; font-weight: 700; }
.contact-details a { text-decoration: none; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(23,27,24,.25); border-radius: 0; background: rgba(255,255,255,.78); color: var(--ink); font: inherit; }
.contact-form textarea { min-height: 128px; resize: vertical; }
.contact-form .privacy { display: flex; align-items: flex-start; gap: 10px; color: rgba(23,27,24,.86); font-size: 13px; font-weight: 600; }
.contact-form .privacy input { width: auto; margin-top: 4px; }
.form-message { grid-column: 1 / -1; margin: 0; padding: 12px 14px; background: rgba(255,255,255,.7); font-weight: 700; }
.form-message--error { background: #f8d9d2; }

.site-footer { padding: 30px 0; background: var(--ink); color: rgba(255,255,255,.75); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner a { color: var(--white); }

@media (max-width: 880px) {
  .site-header { padding: 16px 0; }
  .site-nav { display: none; }
  .hero { min-height: 680px; padding: 145px 0 68px; }
  .intro-grid, .who-grid, .approach-grid, .locations-grid, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1140px); }
  h1 { font-size: 48px; }
  .hero .lead { font-size: 18px; }
  .intro, .services, .who, .approach, .locations, .contact { padding: 78px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
  .service-grid, .office-list, .contact-form { grid-template-columns: 1fr; }
  .contact-form .full { grid-column: auto; }
}
