:root{--ink:#2f2a25;--muted:#6f655b;--brand:#a98a5f;--brand-dark:#7a5c3e;--bg:#fff;--alt:#f6f1e9;--line:#e7ded0;--sand:#d9c7a5;--radius:14px;--shadow:0 6px 24px rgba(80,60,35,.09);--serif:Georgia,"Times New Roman",serif}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;font:17px/1.7 var(--serif);color:var(--ink);background:var(--bg)}
a{color:var(--brand-dark)}a:hover{color:var(--brand)}
img{max-width:100%;height:auto}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.2;color:var(--ink)}
.t-container{max-width:1080px;margin:0 auto;padding:0 20px}

/* header */
.t-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.t-header-in{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px}
.t-brand{display:block;line-height:0}
.t-nav{display:flex;align-items:center;gap:2px;flex-wrap:nowrap}
.t-nav a{color:var(--ink);text-decoration:none;padding:6px 10px;border-radius:8px;font-size:15px;white-space:nowrap}
.t-nav a:hover{background:var(--alt);color:var(--brand-dark)}
.t-search input{border:1px solid var(--line);border-radius:999px;padding:5px 14px;font:inherit;font-size:14px;width:120px;background:#fff;margin-left:8px}
.t-nav-toggle,.t-burger{display:none}

/* hero */
.t-hero{background:linear-gradient(90deg,rgba(250,246,239,.96) 0%,rgba(250,246,239,.88) 45%,rgba(250,246,239,.15) 100%),url(/media/images/teipsiko_headeris.jpg) center/cover;padding:96px 0 84px}
.t-hero .t-container>*{max-width:640px}
.t-eyebrow{text-transform:uppercase;letter-spacing:.2em;font-size:13px;color:var(--brand-dark);margin:0 0 14px;font-weight:600}
.t-hero h1{font-size:clamp(32px,5vw,52px);margin:0 0 18px}
.t-lead{font-size:19px;color:var(--muted);margin:0 0 28px}
.t-quote{margin-top:34px;color:var(--muted)}
.t-btn{display:inline-block;background:var(--brand-dark);color:#fff;font-family:var(--serif);text-decoration:none;padding:13px 24px;border-radius:999px;font-weight:600;margin:0 8px 8px 0;border:2px solid var(--brand-dark)}
.t-btn:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.t-btn-ghost{background:transparent;color:var(--brand-dark)}
.t-btn-ghost:hover{color:#fff}

/* sections */
.t-section{padding:72px 0}
.t-alt{background:var(--alt)}
.t-section h2{font-size:clamp(24px,3vw,32px);margin:0 0 8px;text-align:center;text-transform:uppercase;letter-spacing:.14em;font-weight:400}
.t-section h2::after{content:"";display:block;width:48px;height:2px;background:var(--sand);margin:14px auto 0}
.t-sub{text-align:center;color:var(--muted);margin:0 0 40px}
.t-center{text-align:center;margin-top:36px}
.t-grid{display:grid;gap:24px}
.t-grid-3{grid-template-columns:repeat(3,1fr)}
.t-grid-2{grid-template-columns:repeat(2,1fr)}
.t-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.t-service{display:block;padding:28px;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s}
.t-service:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(80,60,35,.16);color:var(--ink)}
.t-service h3{margin:0 0 10px;font-size:22px}
.t-service p{margin:0 0 14px;color:var(--muted)}
.t-more{color:var(--brand-dark);font-weight:600}
.t-article{display:flex;flex-direction:column}
.t-bar{display:block;height:50px;background:var(--brand)}
.t-card-body{padding:20px 22px 24px}
.t-card-body time{font-size:13px;color:var(--muted)}
.t-card-body h3{font-size:20px;margin:6px 0 8px}
.t-card-body h3 a{color:var(--ink);text-decoration:none}
.t-card-body h3 a:hover{color:var(--brand-dark)}
.t-card-body p{margin:0;color:var(--muted);font-size:15px}
.t-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.t-chip{background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 18px;text-decoration:none;color:var(--ink);font-size:15px}
.t-chip:hover{border-color:var(--brand);color:var(--brand-dark)}
.t-partners{padding:26px 28px}
.t-partners h3{margin:0 0 12px;font-size:21px}
.t-partners ul{margin:0;padding:0;list-style:none;columns:2;column-gap:24px}
.t-partners li{padding:4px 0;break-inside:avoid;font-size:15.5px}
.t-partners li::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--brand);margin-right:9px;vertical-align:middle}
.t-contact{text-align:center}
.t-bigphone{font:clamp(30px,5vw,48px) var(--serif);margin:0}
.t-bigphone a,.t-phone a{color:var(--brand-dark)}
.t-bigphone a{text-decoration:none}
.t-muted{color:var(--muted);font-size:15px}

/* footer */
.t-footer{background:#3a322a;color:#d8cdbd;padding:18px 0;font-size:14px;line-height:1.5}
.t-footer a{color:#fff}.t-footer p{margin:4px 0}

/* inner pages */
.t-layout{padding-top:32px;padding-bottom:64px}
.t-main .uk-article-title{font-size:clamp(24px,2.6vw,30px);line-height:1.25;margin:0 0 6px}
.t-main h1.uk-article-title{font-size:clamp(26px,3vw,34px)}
.t-main>h1.uk-article-title:first-child{text-transform:uppercase;letter-spacing:.12em;font-size:clamp(20px,2.2vw,24px);margin-bottom:26px}
.t-main .uk-article-meta{font-size:14px;margin:0 0 14px}
.t-main .uk-article{margin-bottom:8px}
.t-main hr{border:0;border-top:1px solid var(--line);margin:28px 0}
.t-main .uk-article-title a{color:var(--ink);text-decoration:none}
.t-main .uk-article-meta{color:var(--muted)}
.t-main iframe{max-width:100%}
.t-main img{border-radius:6px}
.t-box{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px;margin-bottom:20px}
.t-box h3{margin:0 0 10px;font-size:20px}
.t-box-accent{background:var(--alt)}
.t-phone{font:26px var(--serif);margin:0 0 8px}.t-phone a{text-decoration:none}
.t-sidenav,.t-sidenav ul{list-style:none;margin:0;padding:0}
.t-sidenav ul{padding-left:14px}
.t-sidenav a{display:block;padding:5px 0;text-decoration:none}

/* mobile */
@media(max-width:1020px){
  .t-grid-3{grid-template-columns:repeat(2,1fr)}
  .t-layout{grid-template-columns:1fr}
  .t-burger{display:block;cursor:pointer;padding:14px 8px;position:relative}
  .t-burger span,.t-burger span::before,.t-burger span::after{display:block;width:24px;height:2px;background:var(--ink);content:"";position:relative}
  .t-burger span::before{top:-7px;position:absolute}.t-burger span::after{top:7px;position:absolute}
  .t-header-in{flex-wrap:wrap}
  .t-nav{display:none;width:100%;flex-direction:column;align-items:stretch;padding-bottom:12px}
  .t-nav-toggle:checked~.t-nav{display:flex}
  .t-hero{padding:56px 0}
}
@media(max-width:600px){.t-grid-3,.t-grid-2{grid-template-columns:1fr}.t-partners ul{columns:1}.t-section{padding:52px 0}}

/* inner pages: warm palette over the old UIkit theme */
.t-main h1,.t-main h2,.t-main h3,.t-main .uk-article-title{font-family:var(--serif);color:var(--ink)}
.t-main a{color:var(--brand-dark)}.t-main a:hover{color:var(--ink)}
.uk-pagination>.uk-active>*{background:var(--brand-dark);background-image:none;color:#fff}
.uk-table-striped tbody tr:nth-of-type(odd){background:var(--alt)}
.t-box h3{text-transform:uppercase;letter-spacing:.12em;font-size:15px}

/* type scale + colours for article content (overrides the legacy theme) */
.t-main,.t-main p,.t-main li,.t-main td,.t-main span,.t-main div{color:var(--ink)}
.t-main{font-size:17px;line-height:1.75}
.t-main .uk-article-meta,.t-main .uk-article-meta *{color:var(--muted)}
.t-main a,.t-main a *{color:var(--brand-dark)}
.t-main a:hover,.t-main a:hover *{color:var(--ink)}
.t-main .uk-article-title a{color:var(--ink)}
.t-main h2{font-size:24px}.t-main h3{font-size:20px}.t-main h4{font-size:18px}
.t-main p{margin:0 0 1em}
.t-main [style*="font-size"]{font-size:inherit !important}
.t-main [style*="color"]{color:inherit !important}
.t-main [style*="font-family"]{font-family:inherit !important}
.t-main h1.uk-article-title{font-size:30px}
.t-main .uk-article-title{font-size:26px}
.t-main>h1.uk-article-title:first-child{font-size:20px}

/* contact form */
.t-contact{text-align:left}
.t-contact-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:48px;align-items:start}
.t-contact-info .t-bigphone{margin-bottom:8px}
.t-form label{display:block;margin:0 0 14px;font-size:15px;color:var(--muted)}
.t-form input[type=text],.t-form input[type=email],.t-form textarea{display:block;width:100%;margin-top:5px;padding:11px 14px;font:17px var(--serif);color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:10px}
.t-form input:focus,.t-form textarea:focus{outline:2px solid var(--sand);border-color:var(--brand)}
.t-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.t-check{display:flex !important;gap:10px;align-items:flex-start}
.t-check input{margin-top:6px}
.t-fe{display:block;color:#9a3b2e;font-size:14px;margin-top:4px}
.t-alert{border-radius:10px;padding:14px 18px;margin-bottom:16px}
.t-ok{background:#f1ecdf;border:1px solid var(--sand)}
.t-err{background:#f8ece8;border:1px solid #e3c1b8;color:#7a2e22}
.t-err ul{margin:0;padding:0;list-style:none}
.t-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.t-form .t-btn{cursor:pointer;font-size:17px}
.t-main .t-contact-grid{grid-template-columns:1fr;gap:28px}
@media(max-width:860px){.t-contact-grid,.t-row{grid-template-columns:1fr}}

/* brand = plain wordmark; read-more = plain link */
.t-brand{font:400 24px/1 var(--serif);letter-spacing:.02em;color:var(--ink);text-decoration:none;white-space:nowrap}
.t-brand:hover{color:var(--ink)}
.t-main .t-readmore{margin:0 0 4px}
.t-main .t-readmore a{text-decoration:underline;text-underline-offset:3px}

/* footer stays at the bottom of short pages */
html,body{min-height:100%}
body{min-height:100vh;display:flex;flex-direction:column}
body>.t-layout{flex:1 0 auto;width:100%}
.t-footer{margin-top:auto;flex-shrink:0}
.t-hero,.t-section{flex-shrink:0}

/* library "more" links */
.t-more-links{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:30px}
.t-chip small{color:var(--muted);margin-left:4px}

/* small screens */
@media(max-width:1020px){
  .t-header-in{min-height:52px}
  .t-nav a{padding:10px 8px;font-size:17px}
  .t-nav .t-search{margin:6px 0 0}
  .t-nav .t-search input{width:100%;margin-left:0;padding:9px 14px}
}
@media(max-width:600px){
  body{font-size:16px}
  .t-container{padding:0 16px}
  .t-hero{padding:44px 0 40px}
  .t-hero .t-container>*{max-width:none}
  .t-btn{display:block;text-align:center;margin-right:0}
  .t-section h2{letter-spacing:.1em}
  .t-bigphone{font-size:30px}
  .t-main{font-size:16px}
  .t-main table{display:block;overflow-x:auto}
  .t-main img{height:auto !important}
  .t-footer{font-size:14px}
}

/* services */
.t-group{padding:28px 28px 22px;display:flex;flex-direction:column}
.t-group h3{margin:0 0 14px;padding-bottom:14px;font-size:21px;line-height:1.3;border-bottom:1px solid var(--line)}
.t-group ul{list-style:none;margin:0;padding:0}
.t-group li{position:relative;padding:9px 0 9px 20px;font-size:16px;line-height:1.5;border-bottom:1px dotted var(--line)}
.t-group li:last-child{border-bottom:0}
.t-group li::before{content:"";position:absolute;left:2px;top:18px;width:7px;height:7px;border-radius:50%;background:var(--sand)}
.t-group li a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--sand)}
.t-group li a:hover{color:var(--brand-dark);border-bottom-color:var(--brand-dark)}
.t-group li a::after{content:" \2192";color:var(--brand)}
