/* TULICO Energy – shared styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #F0F2F1; color: #1C1C1C; font-family: 'Lato', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: #65287B; }
a:hover { color: #4E1E60; }
button { font: inherit; }
:focus-visible { outline: 3px solid #B68CC6; outline-offset: 2px; }
section[id], #top { scroll-margin-top: 84px; }

.t-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #FFFFFF; color: #65287B; padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.t-skip:focus { left: 8px; }

/* Header */
.t-header { position: sticky; top: 0; z-index: 50; background: #65287B; color: #FFFFFF; padding: 0 clamp(16px, 5vw, 48px); }
.t-bar { max-width: 1200px; margin: 0 auto; min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.t-brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; }
.t-brand:hover { color: #FFFFFF; }
.t-brand img { height: 46px; width: auto; display: block; }
.t-word { display: flex; flex-direction: column; line-height: 1; font-family: 'Montserrat', sans-serif; }
.t-word span:first-child { font-weight: 400; font-size: 21px; letter-spacing: 0.32em; }
.t-word span:last-child { font-weight: 500; font-size: 10px; letter-spacing: 0.62em; margin-top: 5px; }
.t-nav { display: flex; align-items: center; gap: 4px 24px; font-size: 15px; }
.t-nav > a:not(.t-cta), .t-mobile > a { color: #F3EAF6; text-decoration: none; }
.t-nav > a:not(.t-cta):hover, .t-nav > a[aria-current] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 6px; }
.t-lang { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #D2BCDC; }
.t-lang a { color: #D2BCDC; text-decoration: none; }
.t-lang a.on, .t-lang a:hover { color: #FFFFFF; }
.t-cta { background: #FFFFFF; color: #65287B !important; text-decoration: none; font-weight: 700; padding: 12px 18px; border-radius: 6px; min-height: 44px; display: inline-flex; align-items: center; }
.t-cta:hover { background: #F3EAF6; }
.t-burger { display: none; width: 44px; height: 44px; border: 1px solid #B68CC6; border-radius: 6px; background: transparent; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.t-mobile { max-width: 1200px; margin: 0 auto; flex-direction: column; padding: 4px 0 20px; border-top: 1px solid #8A4FA0; }
.t-mobile:not([hidden]) { display: flex; }
.t-mobile > a { color: #FFFFFF; font-size: 17px; padding: 14px 0; border-bottom: 1px solid #8A4FA0; }
.t-mobile-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; }
@media (max-width: 920px) {
  .t-nav { display: none; }
  .t-burger { display: inline-flex; }
}
@media (min-width: 921px) { .t-mobile { display: none !important; } }

/* Content blocks */
.tulico h1, .tulico h2, .tulico h3 { text-transform: none; }
.tulico h3 { letter-spacing: 0; }

/* Contact form */
.t-form { flex: 1 1 480px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; background: #F0F2F1; border: 1px solid #DCDFDE; border-radius: 12px; padding: clamp(20px, 3vw, 32px); }
.t-field { display: flex; flex-direction: column; gap: 6px; }
.t-field label { font-size: 14px; font-weight: 700; color: #1C1C1C; }
.t-field input, .t-field select, .t-field textarea { min-height: 46px; padding: 0 14px; border: 1px solid #C4C9C7; border-radius: 6px; font: inherit; color: #1C1C1C; background: #FFFFFF; width: 100%; }
.t-field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.t-field input:focus, .t-field select:focus, .t-field textarea:focus { border-color: #65287B; outline: none; box-shadow: 0 0 0 3px #EFE6F3; }
.t-wide { grid-column: 1 / -1; }
.t-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3D3D3D; line-height: 1.5; }
.t-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #65287B; }
.t-form button { background: #65287B; color: #FFFFFF; border: 0; font-weight: 700; padding: 14px 26px; border-radius: 6px; min-height: 48px; cursor: pointer; }
.t-form button:hover { background: #4E1E60; }
.t-form button[disabled] { opacity: 0.6; cursor: wait; }
.t-status { margin: 0; font-size: 15px; min-height: 0; }
.t-status:empty { display: none; }
.t-status.ok { color: #1E6B3A; background: #E7F4EC; padding: 12px 14px; border-radius: 6px; }
.t-status.err { color: #8A1F1F; background: #FBEAEA; padding: 12px 14px; border-radius: 6px; }
.t-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact > div > div:first-child { flex: 1 1 380px; }

/* Footer */
.t-footer { background: #65287B; color: #EADDF0; padding: 48px clamp(16px, 5vw, 48px) 32px; }
.t-foot-in { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.t-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.t-foot-top > div { flex: 1 1 320px; }
.t-foot-top p { margin: 0; max-width: 360px; line-height: 1.6; }
.t-foot-logo { height: 130px; width: auto; display: block; margin-bottom: 20px; }
.t-foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; align-content: flex-start; }
.t-foot-nav a { color: #EADDF0; text-decoration: none; }
.t-foot-nav a:hover { color: #FFFFFF; text-decoration: underline; }
.t-foot-legal { border-top: 1px solid #8A4FA0; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #D2BCDC; }
.t-foot-legal p { margin: 0; }
.t-foot-legal a { color: #D2BCDC; }

/* Legal pages */
.t-legal { max-width: 860px; margin: 0 auto; padding: 56px 16px 80px; line-height: 1.65; font-size: 16px; }
.t-legal h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(30px, 4vw, 44px); color: #65287B; margin: 0 0 12px; letter-spacing: -0.01em; }
.t-legal h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 26px; margin: 56px 0 8px; }
.t-legal h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; margin: 28px 0 8px; }
.t-legal p, .t-legal li, .t-legal td { color: #3D3D3D; }
.t-legal .lead { font-size: 18px; color: #1C1C1C; }
.t-legal .muted { color: #5E636A; font-size: 14px; }
.t-legal .tbl { overflow-x: auto; }
.t-legal table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; background: #FFFFFF; }
.t-legal th, .t-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #DCDFDE; }
.t-legal th { font-weight: 700; background: #EFE6F3; color: #1C1C1C; }
