/* ========================================================================== 
   TEHNOFORMAT / KONTAKT I O NAMA
   Nastavak odobrenog tamnog v2.1 smjera. Bez novih frameworka i fontova.
   00 Osnove · 01 Uvod · 02 Kontakti · 03 Obrazac · 04 O nama / hero
   05 Profil i usluge · 06 Načela · 07 Objekti · 08 CTA · 09 Responzivnost.
   ========================================================================== */

/* 00. OSNOVE PODSTRANICA / Odvojeno od fullscreen heroa početne stranice. */
/* 00.1 IDENTITET / Izvorni znak kao tih pozadinski motiv; logo ostaje netaknut. */
.header-inner { z-index: 1; }
/* Naziv tvrtke / Potvrđena kocka desno od umjerenog H1, s tri suptilno tonirane plohe.
   Statičan naglasak ostaje miran, a opis djelatnosti nosi glavni vizualni naglasak. */
.hero__brand-name { position: relative; display: flex; align-items: center; isolation: isolate; width: max-content; gap: 0; min-height: 64px; margin: 0 0 30px; padding: 0; font-family: var(--font-heading); font-weight: 600; font-size: clamp(28px,2.3vw,36px); letter-spacing: .06em; line-height: 1.15; color: #e8e3d2; }
.hero__brand-name .brand-cube-backdrop { position: absolute; z-index: -1; pointer-events: none; width: 88px; height: auto; aspect-ratio: 179 / 156; left: calc(100% + 24px); top: 50%; transform: translateY(-50%); overflow: visible; stroke: rgba(214,198,116,.32); }
.brand-cube-backdrop path:nth-child(1) { fill: rgba(214,198,116,.045); }
.brand-cube-backdrop path:nth-child(2) { fill: rgba(214,198,116,.10); }
.brand-cube-backdrop path:nth-child(3) { fill: rgba(214,198,116,.065); }
.hero__brand-name > span { position: relative; text-shadow: 0 1px 10px #171c20; }
/* Manji znak na tabletu i mobitelu zadržava izvorne proporcije logotipa. */
@media (max-width: 800px) {
  .hero__brand-name { min-height: 56px; }
  .hero__brand-name .brand-cube-backdrop { width: 74px; left: calc(100% + 20px); }
}
.hero__layout { position: relative; z-index: 2; }
.inquiry-area a { color: #e4ebee; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }

/* Rubne motive održava zajednička datoteka atmosphere.css. */

/* 00.2 FOTOGRAFIJE I IKONE / Vizualni ritam priče, stručnog opsega i načela. */
.story-photo { position: relative; margin-top: 56px; margin-bottom: 0; overflow: hidden; height: clamp(290px,34vw,430px); }
.story-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.story-photo figcaption { position: absolute; inset: auto 0 0; padding: 65px 34px 28px; background: linear-gradient(transparent,#10191fe8); font-family: var(--font-heading); font-size: 31px; line-height: 1.25; color: #f1f4f5; }
.story-photo figcaption span { display: block; margin-bottom: 12px; color: #e7cd47; font-family: var(--font-body); font-size: 10px; letter-spacing: .13em; }
.discipline-photo { margin: 30px 0 25px; overflow: hidden; }
.discipline-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.expertise-icon { width: 40px; height: 40px; fill: none; stroke: #c6b96b; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.principle-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.principle-top .expertise-icon { width: 42px; height: 42px; flex-shrink: 0; }
.page-kontakt, .page-o-nama { background: var(--surface); }
.breadcrumbs { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-block: 30px 52px; color: #aebbc4; font-size: 11px; }
.breadcrumbs a { padding-block: 4px; }
.breadcrumbs a:hover { color: var(--brand-yellow); }
.breadcrumbs [aria-current] { color: #e1e7ea; }
.breadcrumbs > span[aria-hidden] { color: #71828d; }
.page-lead { color: #d1dae0; font-size: 17px; line-height: 1.85; }
.page-kontakt .nav-contact .is-current { box-shadow: inset 0 -3px 0 #bba52c; }

/* 01. UVOD KONTAKTA / Veliki naslov lijevo i kratak, konkretan uvod desno. */
.page-intro { padding-bottom: 64px; background: #171f25; }
.page-intro__grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); align-items: end; gap: 70px; }
.page-intro h1 { margin-bottom: 0; font-size: clamp(54px,6.25vw,86px); line-height: 1.02; letter-spacing: .002em; }
.page-intro .eyebrow { margin-bottom: 22px; }
.page-intro__side { padding-bottom: 5px; max-width: 450px; }
.page-intro__side p { font-size: 16px; line-height: 1.9; color: #c0ccd3; }
.page-intro__side p + p { margin-top: 18px; }

/* 02. IZRAVNI KONTAKTI / Tri jednako važne, čitljive kontaktne cjeline. */
.contact-channels { padding-block: 0 4px; background: linear-gradient(#171f25 50%,var(--surface) 50%); }
.contact-channels__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; border: 1px solid #46535d; }
.contact-channel { position: relative; padding: 30px 32px 32px; background: #26323a; }
.contact-channel + .contact-channel { border-left: 1px solid #46535d; }
.channel-index { display: block; color: var(--brand-yellow); font-size: 10px; letter-spacing: .12em; font-weight: 600; }
.channel-icon { position: absolute; top: 25px; right: 30px; width: 30px; height: 30px; fill: none; stroke: #c4d0d7; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.contact-channel h2 { margin-top: 46px; margin-bottom: 19px; font-size: 32px; line-height: 1.12; }
.channel-main, .channel-phones a { color: #f2f5f6; font-size: clamp(16px,1.5vw,20px); line-height: 1.6; font-weight: 500; }
.channel-main { display: inline-block; overflow-wrap: anywhere; }
.channel-main:hover, .channel-phones a:hover { color: var(--brand-yellow); }
.channel-phones { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.channel-phones a { padding-block: 3px; }
.contact-channel > p { margin-top: 16px; max-width: 290px; color: #bcc9d1; font-size: 12px; line-height: 1.7; }
.contact-channel address { font-style: normal; color: #e3e9ed; font-size: 14px; line-height: 1.85; }
.contact-channel .text-link { margin-top: 12px; font-size: 12px; }

/* 03. UPIT / Upute lijevo, obrazac desno; bez lažnih potvrda o slanju. */
.inquiry__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(48px,7vw,105px); align-items: start; }
.inquiry__intro > p:not(.eyebrow) { max-width: 430px; margin-top: 26px; color: #bac7cf; font-size: 15px; line-height: 1.9; }
.inquiry-guide { list-style: none; padding: 0; margin: 35px 0 0; }
.inquiry-guide li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 19px; padding-block: 22px; border-top: 1px solid #3a4750; }
.inquiry-guide li > span { color: var(--brand-yellow); font-size: 12px; padding-top: 4px; }
.inquiry-guide h3 { font-size: 25px; margin-bottom: 8px; }
.inquiry-guide p { font-size: 13px; line-height: 1.85; color: #bac7cf; }
.inquiry-guide a { color: #e0e8ed; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.inquiry-area { border-left: 2px solid var(--brand-yellow); padding-left: 22px; margin-top: 24px; }
.inquiry-area .eyebrow { font-size: 10px; margin-bottom: 10px; }
.inquiry-area strong { font-family: var(--font-heading); font-size: 28px; font-weight: 600; }
.inquiry-area > p { margin-top: 5px; font-size: 12px; color: var(--muted); }
.page-kontakt .contact-form { padding: 32px; gap: 24px; }
.page-kontakt .contact-form textarea { min-height: 175px; }
.page-kontakt .form-field .optional { color: #aebdc7; font-size: 10px; font-weight: 400; }
.field-hint { font-size: 11px; color: #aebdc7; }
.form-disclaimer a { text-decoration: underline; text-underline-offset: 3px; }
.button:disabled { opacity: .55; cursor: not-allowed; }

/* 04. O NAMA / Tipografski uvod i isti vizualni jezik odobrene početne. */
.about-intro { padding-bottom: 0; }
.about-intro__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.93fr); gap: clamp(48px,7vw,105px); align-items: center; }
.about-intro__content { padding-block: 5px 40px; }
.about-intro__content .page-lead { margin-top: 29px; max-width: 500px; }
.about-intro__content .button { margin-top: 32px; }
.about-intro__image { position: relative; margin: 0; align-self: stretch; min-height: 535px; overflow: hidden; background: #2a343a; }
.about-intro__image img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% center; }
.about-intro__image figcaption { position: absolute; inset: auto 0 0; padding: 24px 28px; background: #121a20ed; border-top: 1px solid #5b666b; font-family: var(--font-heading); font-size: 25px; line-height: 1.3; }
.about-intro__image figcaption span { display: block; margin-bottom: 8px; color: var(--brand-yellow); font-family: var(--font-body); font-size: 10px; letter-spacing: .14em; }
.company-profile { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 45px; padding-block: 24px; border-top: 1px solid #3a4851; color: #bcc9d0; font-size: 12px; }
.company-profile span:first-child { color: #eef2f3; font-weight: 600; letter-spacing: .04em; }

/* 05. PROFIL I STRUČNI OPSEG / Dvostupčani sadržaj bez izmišljenih brojki. */
.company-story__grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1fr); gap: clamp(48px,7vw,105px); }
.prose p { margin-bottom: 22px; color: #b9c6ce; font-size: 15px; line-height: 1.9; }
.prose p:last-child { margin-bottom: 0; }
.prose .prose__lead { color: #e0e7eb; font-size: 18px; line-height: 1.8; }
.disciplines { background: #222d35; }
.disciplines__grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1fr); gap: clamp(48px,8vw,115px); }
.disciplines__intro > p:not(.eyebrow) { margin-block: 26px; max-width: 390px; color: #c0ccd4; font-size: 14px; line-height: 1.9; }
.discipline-list article { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 22px; padding-block: 27px; border-top: 1px solid #596771; }
.discipline-list article:first-child { padding-top: 8px; border-top: 0; }
.discipline-list article:last-child { padding-bottom: 0; }
.discipline-list article > span { padding-top: 5px; color: var(--brand-yellow); font-size: 12px; }
.discipline-list h3 { margin-bottom: 12px; font-size: 32px; line-height: 1.15; }
.discipline-list p { color: #c0ccd4; font-size: 14px; line-height: 1.8; }

/* 06. NAČELA / Tri sadržajne kartice bez nepotkrijepljenih certifikata. */
.principle-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.principle-grid article { padding: 30px; border: 1px solid #3f4d57; background: #1e2931; }
.principle-grid h3 { margin-top: 42px; margin-bottom: 18px; font-size: 32px; }
.principle-grid p { color: #bcc8d0; font-size: 14px; line-height: 1.85; }

/* 07. PODRUČJA PRIMJENE / Uredan popis, bez izmišljenih referenci. */
.object-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.object-list li { display: flex; align-items: center; gap: 12px; padding-block: 22px; border-bottom: 1px solid #46545e; color: #d3dfe6; font-size: 14px; line-height: 1.7; }
.object-list li::before { content: ''; width: 5px; height: 5px; flex: 0 0 5px; background: var(--brand-yellow); }

/* 08. ZAVRŠNI CTA / Izravno povezuje kontakt i profil tvrtke. */
.page-next { padding-block: 62px; background: #26343e; border-top: 1px solid #465762; }
.page-next__inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.page-next .eyebrow { margin-bottom: 14px; }
.page-next h2 { font-size: clamp(33px,3.2vw,44px); }
.page-next .button { flex-shrink: 0; }

/* 09.1 TABLETI / Jednostavniji ritam i dovoljan prostor za kontaktne podatke. */
@media (max-width: 1100px) {
  .page-intro__grid { gap: 42px; }
  .contact-channel { padding-inline: 24px; }
  .contact-channel h2 { font-size: 29px; }
  .channel-main, .channel-phones a { font-size: 16px; }
  .inquiry__grid { grid-template-columns: minmax(0,.8fr) minmax(0,1fr); gap: 40px; }
  .page-kontakt .contact-form { padding: 24px; }
  .page-kontakt .form-row { grid-template-columns: 1fr; gap: 22px; }
  .about-intro__grid { gap: 42px; }
  .about-intro__image { min-height: 490px; }
  .principle-grid { gap: 18px; }
  .principle-grid article { padding: 24px; }
}

/* 09.2 UŽI TABLETI / Jedan stupac za kontaktne kartice i sadržajne cjeline. */
@media (max-width: 800px) {
  .breadcrumbs { padding-block: 24px 38px; }
  .page-intro__grid { grid-template-columns: 1fr; gap: 26px; }
  .page-intro__side { max-width: 600px; }
  .page-intro__side p { font-size: 15px; }
  .page-intro { padding-bottom: 40px; }
  .contact-channels__grid { grid-template-columns: 1fr; }
  .contact-channel { padding: 26px 30px; }
  .contact-channel + .contact-channel { border-left: 0; border-top: 1px solid #46535d; }
  .contact-channel h2 { margin-top: 22px; margin-bottom: 12px; }
  .channel-main, .channel-phones a { font-size: 19px; }
  .inquiry__grid, .company-story__grid, .disciplines__grid { grid-template-columns: 1fr; gap: 42px; }
  .inquiry__intro > p:not(.eyebrow), .disciplines__intro > p:not(.eyebrow) { max-width: 580px; }
  .page-kontakt .form-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-intro { padding-bottom: 0; }
  .about-intro__grid { grid-template-columns: 1fr; gap: 36px; }
  .about-intro__content { padding-bottom: 0; }
  .about-intro__image { min-height: 480px; }
  .company-profile { margin-top: 30px; justify-content: flex-start; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid h3 { margin-top: 28px; }
  .page-next__inner { align-items: flex-start; flex-direction: column; }
}

/* 09.3 MOBITEL / Čitljivost i dodirne površine na širinama od 320 px. */
@media (max-width: 560px) {
  .hero__brand-name { margin-bottom: 28px; font-size: 28px; }
  .story-photo { margin-top: 35px; height: 310px; }
  .story-photo figcaption { padding: 65px 20px 22px; font-size: 26px; }
  .discipline-photo img { aspect-ratio: 3 / 2; }
  .breadcrumbs { padding-block: 22px 32px; font-size: 10px; }
  .page-intro h1 { font-size: clamp(45px,12vw,62px); }
  .page-intro .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .page-intro__side p + p { margin-top: 13px; }
  .contact-channel { padding: 25px 24px; }
  .channel-icon { right: 24px; width: 27px; height: 27px; }
  .channel-main, .channel-phones a { font-size: 18px; }
  .channel-phones a { min-height: 44px; display: inline-flex; align-items: center; }
  .contact-channel address { font-size: 13px; }
  .contact-channel .text-link { min-height: 44px; }
  .inquiry-guide li { gap: 14px; }
  .inquiry-guide h3 { font-size: 24px; }
  .page-kontakt .contact-form { padding: 24px 20px; }
  .page-kontakt .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap__top { font-size: 9px; letter-spacing: .06em; padding-inline: 20px; }
  .about-intro__content .page-lead { font-size: 16px; margin-top: 22px; }
  .about-intro__content .button { width: 100%; justify-content: space-between; padding-inline: 19px; }
  .about-intro__image { min-height: 360px; }
  .about-intro__image figcaption { padding: 20px; font-size: 23px; }
  .company-profile { flex-direction: column; font-size: 11px; }
  .prose .prose__lead { font-size: 17px; }
  .prose p { font-size: 14px; }
  .discipline-list article { gap: 18px; grid-template-columns: 34px minmax(0,1fr); }
  .discipline-list .expertise-icon { width: 34px; height: 34px; }
  .discipline-list h3 { font-size: 29px; }
  .object-list { grid-template-columns: 1fr; }
  .object-list li { padding-block: 19px; }
  .page-next { padding-block: 44px; }
  .page-next h2 { font-size: 35px; }
}
