:root{
  --bg:#0b1220;
  --surface:#ffffff;
  --surface-2:#f4f7fb;
  --text:#0f172a;
  --muted:#5b6474;
  --primary:#0f766e;
  --primary-2:#14b8a6;
  --border:rgba(15,23,42,.08);
  --shadow:0 18px 50px rgba(15,23,42,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.teba-modern-page{margin:0;font-family:Inter,Segoe UI,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,#f8fbff 0%,#ffffff 48%,#f7fafc 100%)}
a{color:inherit}
img{max-width:100%;display:block}
.teba-modern-main{padding-top:96px}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(20,184,166,.10);color:#0f766e;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.teba-modern-header{position:fixed;inset:0 0 auto 0;z-index:1000;background:rgba(255,255,255,.85);backdrop-filter:blur(16px);border-bottom:1px solid rgba(15,23,42,.06)}
.teba-nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:82px}
.teba-logo-link img{height:54px;width:auto}
.teba-nav{display:flex;align-items:center;gap:10px}
.teba-nav a{padding:12px 14px;border-radius:12px;color:#334155;text-decoration:none;font-weight:600;transition:.2s ease}
.teba-nav a:hover,.teba-nav a.active{background:#eff6ff;color:#0f172a}
.teba-nav-cta{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff!important;box-shadow:0 12px 24px rgba(20,184,166,.18)}
.teba-menu-toggle{display:none;background:none;border:0;padding:0;width:44px;height:44px}
.teba-menu-toggle span{display:block;height:2px;background:#0f172a;margin:6px 0;border-radius:2px}
.teba-hero{position:relative;padding:60px 0 40px;overflow:hidden}
.teba-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,18,32,.82),rgba(11,18,32,.45)),var(--hero-bg-image,none) center/cover no-repeat,var(--hero-bg-color,#60584d);z-index:-2}
.teba-hero::after{content:"";position:absolute;inset:auto auto -180px 50%;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.30),rgba(20,184,166,0));transform:translateX(-50%);z-index:-1}
.teba-hero-grid{display:grid;grid-template-columns:1.35fr .8fr;gap:28px;align-items:center;min-height:520px}

.teba-hero-grid.hero-has-media{grid-template-columns:1.05fr .95fr}
.teba-hero-media{position:relative}
.teba-hero-media-card{position:relative;min-height:520px;border-radius:32px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.24);background:#0f172a;border:1px solid rgba(255,255,255,.12)}
.teba-hero-media-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teba-hero-media-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.08),rgba(15,23,42,.72))}
.teba-hero-media-content{position:absolute;left:24px;right:24px;bottom:24px;color:#fff;z-index:2}
.eyebrow.light{background:rgba(255,255,255,.14);color:#fff;backdrop-filter:blur(10px)}
.teba-hero-media-content h3{margin:16px 0 10px;font-size:clamp(28px,3vw,40px);line-height:1.08}
.teba-hero-media-content p{margin:0;color:rgba(255,255,255,.84);line-height:1.75;max-width:56ch}
.teba-hero-panel-inline{margin-top:18px}
.teba-panel.compact{padding:18px 22px;background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12);backdrop-filter:blur(16px)}
.teba-panel.compact .teba-bullet-list li{color:#fff}
.teba-panel.compact .teba-bullet-list li::before{background:linear-gradient(135deg,#fff,var(--primary-2))}
.teba-hero-copy h1{margin:18px 0 16px;color:#fff;font-size:clamp(34px,6vw,64px);line-height:1.02;max-width:12ch}
.teba-hero-copy p{max-width:620px;color:rgba(255,255,255,.84);font-size:18px;line-height:1.7}
.teba-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0}
.teba-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 20px;border-radius:16px;border:1px solid transparent;font-weight:800;text-decoration:none;transition:.2s ease}
.teba-btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 12px 24px rgba(20,184,166,.18)}
.teba-btn.secondary{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.16);color:#fff;backdrop-filter:blur(12px)}
.teba-btn.ghost{background:#fff;border-color:var(--border);color:#0f172a}
.teba-btn.light{background:#fff;color:#0f172a}
.teba-btn.full{width:100%}
.teba-stat-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:32px}
.teba-stat-card,.teba-panel,.teba-category-card,.teba-service-card,.teba-reference-card,.teba-contact-card,.teba-reference-content,.teba-project-card,.teba-gallery-item{background:var(--surface);border:1px solid var(--border);box-shadow:var(--shadow);border-radius:var(--radius)}
.teba-stat-card{padding:18px;background:rgba(255,255,255,.12);backdrop-filter:blur(16px);border-color:rgba(255,255,255,.12)}
.teba-stat-card strong{display:block;color:#fff;font-size:30px;line-height:1}
.teba-stat-card span{display:block;margin-top:8px;color:rgba(255,255,255,.75);font-size:13px}
.teba-panel{padding:26px}
.teba-panel.glass{background:rgba(255,255,255,.94)}
.teba-panel h3{margin:16px 0 10px;font-size:28px}
.teba-panel p{color:var(--muted);line-height:1.75}
.teba-bullet-list{padding:0;margin:18px 0 0;list-style:none;display:grid;gap:10px}
.teba-bullet-list li{position:relative;padding-left:24px;color:#1f2937}
.teba-bullet-list li::before{content:"";position:absolute;left:0;top:8px;width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,var(--primary),var(--primary-2))}
.teba-section{padding:88px 0}
.teba-section.alt{background:var(--surface-2)}
.teba-section-heading{max-width:760px;margin-bottom:32px}
.teba-section-heading.center{text-align:center;margin-inline:auto auto}
.teba-section-heading.between{display:flex;align-items:end;justify-content:space-between;gap:20px;max-width:none}
.teba-section-heading h2{margin:16px 0 10px;font-size:clamp(28px,4vw,46px);line-height:1.08}
.teba-section-heading p{color:var(--muted);font-size:17px;line-height:1.8;margin:0}
.teba-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:start}
.teba-prose{background:#fff;border:1px solid var(--border);padding:28px;border-radius:var(--radius);box-shadow:var(--shadow);color:#334155;line-height:1.85}
.teba-prose p:last-child{margin-bottom:0}
.teba-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.teba-service-card{padding:28px}
.teba-service-card span{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:14px;background:#ecfeff;color:#0f766e;font-weight:900;margin-bottom:18px}
.teba-service-card h3{margin:0 0 10px;font-size:24px}
.teba-service-card p{margin:0;color:var(--muted);line-height:1.8}
.teba-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.teba-category-grid.large{grid-template-columns:repeat(2,minmax(0,1fr))}
.teba-category-card{overflow:hidden}
.teba-category-card.wide{display:grid;grid-template-columns:260px 1fr}
.teba-category-media{display:block;aspect-ratio:4/3;overflow:hidden;background:#dbeafe}
.teba-category-card.wide .teba-category-media{aspect-ratio:auto;height:100%}
.teba-category-media img,.teba-gallery-item img,.teba-project-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.teba-category-card:hover img,.teba-gallery-item:hover img,.teba-project-card:hover img{transform:scale(1.04)}
.teba-category-body{padding:22px}
.teba-category-body h3{margin:12px 0 10px;font-size:24px}
.teba-category-body h3 a{text-decoration:none}
.teba-category-body p{margin:0;color:var(--muted);line-height:1.75}
.teba-pill{display:inline-flex;padding:7px 12px;border-radius:999px;background:#ecfeff;color:#0f766e;font-size:12px;font-weight:800}
.teba-inline-actions{display:flex;gap:10px;flex-wrap:wrap}
.teba-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.teba-gallery-item{position:relative;overflow:hidden;min-height:240px}
.teba-gallery-item span{position:absolute;left:16px;right:16px;bottom:16px;padding:12px 14px;border-radius:14px;background:rgba(11,18,32,.65);color:#fff;font-weight:700;backdrop-filter:blur(12px)}
.teba-reference-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.teba-reference-card{padding:34px}
.teba-reference-card.dark{background:linear-gradient(160deg,#0f172a,#111827);color:#fff;border-color:rgba(255,255,255,.08)}
.teba-reference-card h3{margin:16px 0 10px;font-size:30px}
.teba-reference-card p{line-height:1.85;color:inherit;opacity:.84;margin-bottom:22px}
.teba-inner-hero{padding:44px 0 16px}
.teba-inner-hero.compact .container{padding:30px;border-radius:30px;background:linear-gradient(135deg,#0f172a,#1e293b);color:#fff;box-shadow:var(--shadow)}
.teba-inner-hero h1{margin:16px 0 10px;font-size:clamp(30px,4vw,48px)}
.teba-inner-hero p{max-width:820px;color:rgba(255,255,255,.78);line-height:1.8}
.teba-project-layout{display:grid;grid-template-columns:320px 1fr;gap:24px;align-items:start}
.teba-project-side .sticky{position:sticky;top:110px}
.teba-side-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:22px 0}
.teba-side-meta div{padding:16px;border-radius:18px;background:#f8fafc;border:1px solid var(--border)}
.teba-side-meta strong{display:block;font-size:24px}
.teba-side-meta span{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}
.teba-project-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.teba-project-card{position:relative;overflow:hidden;min-height:280px;text-decoration:none}
.teba-project-card span{position:absolute;left:16px;right:16px;bottom:16px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.92);font-weight:700}
.teba-reference-content{padding:36px;line-height:1.9;color:#334155}
.teba-contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:24px}
.teba-contact-card{padding:28px}
.teba-contact-card h3{margin:0 0 22px;font-size:28px}
.teba-contact-list{display:grid;gap:18px}
.teba-contact-list div{display:grid;gap:6px;padding-bottom:16px;border-bottom:1px solid var(--border)}
.teba-contact-list strong{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#64748b}
.teba-contact-list span,.teba-contact-list a{color:#0f172a;line-height:1.7}
.teba-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.teba-form-grid textarea{grid-column:1/-1;min-height:160px;resize:vertical}
.teba-contact-form input,.teba-contact-form textarea{width:100%;padding:15px 16px;border:1px solid rgba(15,23,42,.12);border-radius:16px;background:#fff;outline:none;transition:.2s ease}
.teba-contact-form input:focus,.teba-contact-form textarea:focus{border-color:#14b8a6;box-shadow:0 0 0 4px rgba(20,184,166,.12)}
.teba-alert{padding:14px 16px;border-radius:16px;margin-bottom:18px;font-weight:700}
.teba-alert.success{background:#ecfdf5;color:#166534}
.teba-alert.error{background:#fef2f2;color:#991b1b}
.teba-footer-grid{display:grid;grid-template-columns:1.1fr .7fr .7fr;gap:24px;padding:40px 0 24px}
.teba-modern-footer{background:#0f172a;color:#cbd5e1;margin-top:40px}
.teba-modern-footer h4{color:#fff;margin:0 0 14px}
.teba-footer-brand{font-size:26px;font-weight:900;color:#fff;margin-bottom:10px}
.teba-modern-footer ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.teba-modern-footer a{text-decoration:none;color:#cbd5e1}
.teba-footer-bottom{display:flex;justify-content:space-between;gap:12px;padding:18px 0 28px;border-top:1px solid rgba(255,255,255,.08);font-size:14px}
.teba-empty{padding:24px;border:1px dashed rgba(15,23,42,.16);border-radius:24px;background:#fff}
@media (max-width: 1100px){
  .teba-hero-grid,.teba-about-grid,.teba-project-layout,.teba-contact-grid,.teba-reference-grid,.teba-footer-grid{grid-template-columns:1fr}
  .teba-hero-media-card{min-height:360px}
  .teba-stat-row,.teba-service-grid,.teba-category-grid,.teba-gallery-grid,.teba-project-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teba-category-card.wide{grid-template-columns:1fr}
}
@media (max-width: 860px){
  .teba-menu-toggle{display:block}
  .teba-nav{position:absolute;left:16px;right:16px;top:84px;background:#fff;border:1px solid var(--border);border-radius:22px;padding:12px;box-shadow:var(--shadow);display:none;flex-direction:column;align-items:stretch}
  .teba-nav.open{display:flex}
  .teba-nav a{width:100%}
  .teba-hero-copy h1{max-width:none}
  .teba-stat-row,.teba-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 640px){
  .container{width:min(100% - 22px,1180px)}
  .teba-modern-main{padding-top:88px}
  .teba-section{padding:68px 0}
  .teba-hero{padding-top:28px}
  .teba-stat-row,.teba-service-grid,.teba-category-grid,.teba-category-grid.large,.teba-gallery-grid,.teba-project-gallery,.teba-form-grid{grid-template-columns:1fr}
  .teba-footer-bottom{flex-direction:column}
  .teba-contact-card,.teba-panel,.teba-reference-card,.teba-reference-content,.teba-service-card,.teba-category-body{padding:22px}
}


/* V5 desktop hero dengeleme fix */
.teba-hero-balanced{padding:34px 0 26px}
.teba-hero-grid.hero-balanced-grid{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);grid-template-areas:"media copy";gap:34px;align-items:start;min-height:unset}
.teba-hero-grid.hero-balanced-grid > .teba-hero-media{grid-area:media}
.teba-hero-grid.hero-balanced-grid > .teba-hero-copy{grid-area:copy;padding-top:10px}
.teba-hero-grid.hero-balanced-grid .teba-hero-media-card{min-height:440px}
.teba-hero-grid.hero-balanced-grid .teba-hero-copy h1{font-size:clamp(34px,4.8vw,62px);max-width:11ch;margin-top:16px}
.teba-hero-grid.hero-balanced-grid .teba-stat-row{margin-top:24px}
.teba-hero-trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.teba-hero-mini-card{padding:16px 18px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);backdrop-filter:blur(14px)}
.teba-hero-mini-card strong{display:block;color:#fff;font-size:15px;margin-bottom:8px}
.teba-hero-mini-card span{display:block;color:rgba(255,255,255,.78);font-size:14px;line-height:1.6}

@media (max-width: 1100px){
  .teba-hero-grid.hero-balanced-grid{grid-template-columns:1fr;grid-template-areas:"media" "copy";gap:24px}
  .teba-hero-grid.hero-balanced-grid > .teba-hero-copy{padding-top:0}
}
@media (max-width: 640px){
  .teba-hero-trust{grid-template-columns:1fr}
  .teba-hero-grid.hero-balanced-grid .teba-hero-media-card{min-height:280px}
}


/* V5 yazi boyutu ve etiket gizleme fix */
.teba-hero-copy .eyebrow{font-size:11px;padding:7px 12px}
.teba-hero-grid.hero-balanced-grid .teba-hero-copy h1{font-size:clamp(28px,3.8vw,48px);line-height:1.08;max-width:13ch}
.teba-hero-copy p{max-width:560px;font-size:16px;line-height:1.75}

@media (max-width: 860px){
  .teba-hero-copy p{font-size:15px}
}
@media (max-width: 640px){
  .teba-hero-grid.hero-balanced-grid .teba-hero-copy h1{font-size:clamp(26px,8vw,38px);max-width:none}
}


/* V6 hero admin kontrol fix */
.hero-title-size-small h1{font-size:clamp(30px,3.2vw,46px)!important;max-width:12ch!important;line-height:1.06}
.hero-title-size-medium h1{font-size:clamp(36px,4vw,56px)!important;max-width:11ch!important;line-height:1.05}
.hero-title-size-large h1{font-size:clamp(42px,4.8vw,66px)!important;max-width:10ch!important;line-height:1.02}
.teba-hero-copy h1:only-child{margin-bottom:8px}
@media (max-width:640px){
  .hero-title-size-small h1,.hero-title-size-medium h1,.hero-title-size-large h1{max-width:none!important}
}


/* V6.1 desktop hero fix */
.teba-hero-balanced{padding:26px 0 18px}
.teba-hero-grid.hero-balanced-grid{grid-template-columns:minmax(0,1fr) minmax(380px,0.92fr);grid-template-areas:"copy media";gap:48px;align-items:center;min-height:auto}
.teba-hero-grid.hero-balanced-grid > .teba-hero-copy{grid-area:copy;padding-top:0;max-width:620px;align-self:center}
.teba-hero-grid.hero-balanced-grid > .teba-hero-media{grid-area:media}
.teba-hero-grid.hero-balanced-grid .teba-hero-media-card{min-height:360px}
.teba-hero-media-card-desktop{aspect-ratio:16/10}
.teba-hero-media-content.compact h3{margin:14px 0 0;font-size:clamp(20px,2vw,30px);line-height:1.14;max-width:18ch}
.teba-hero-grid.hero-balanced-grid .teba-hero-copy h1{font-size:clamp(28px,3vw,48px);line-height:1.06;max-width:16ch;margin:0 0 14px}
.hero-title-size-small h1{font-size:clamp(26px,2.6vw,42px)!important;max-width:17ch!important;line-height:1.08}
.hero-title-size-medium h1{font-size:clamp(30px,3vw,48px)!important;max-width:16ch!important;line-height:1.07}
.hero-title-size-large h1{font-size:clamp(34px,3.5vw,54px)!important;max-width:15ch!important;line-height:1.05}
.teba-hero-copy p{max-width:56ch;font-size:16px;line-height:1.7;margin:0}
.teba-hero-actions{margin:18px 0 0}
.teba-stat-row.teba-stat-row-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px;gap:12px;margin-top:18px}
.teba-stat-row.teba-stat-row-compact .teba-stat-card{padding:18px 20px}
@media (max-width: 1199px){
  .teba-hero-grid.hero-balanced-grid{grid-template-columns:minmax(0,1fr) minmax(320px,0.88fr);gap:28px}
  .teba-hero-grid.hero-balanced-grid .teba-hero-copy h1{max-width:15ch}
}
@media (max-width: 991px){
  .teba-hero-balanced{padding:28px 0 22px}
  .teba-hero-grid.hero-balanced-grid{grid-template-columns:1fr;grid-template-areas:"media" "copy";gap:24px;align-items:start}
  .teba-hero-grid.hero-balanced-grid > .teba-hero-copy{max-width:none}
  .teba-hero-grid.hero-balanced-grid .teba-hero-media-card{min-height:280px}
  .teba-stat-row.teba-stat-row-compact{max-width:none}
}
@media (max-width: 575px){
  .teba-stat-row.teba-stat-row-compact{grid-template-columns:1fr 1fr}
}


/* V6.2 desktop hero rebuild */
.teba-hero-v62{position:relative;padding:30px 0 26px;overflow:hidden}
.teba-hero-v62::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,18,32,.84),rgba(11,18,32,.46)),var(--hero-bg-image,none) center/cover no-repeat,var(--hero-bg-color,#60584d);z-index:-2}
.teba-hero-v62::after{content:"";position:absolute;right:8%;bottom:-140px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.26),rgba(20,184,166,0));z-index:-1}
.teba-hero-v62__grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(360px,.96fr);gap:42px;align-items:center;min-height:520px}
.teba-hero-v62__copy{max-width:620px;padding:18px 0}
.teba-hero-v62__copy h1{margin:0 0 18px;color:#fff;font-size:clamp(32px,3.1vw,48px);line-height:1.08;max-width:13ch;word-break:break-word}
.teba-hero-v62__copy p{margin:0;max-width:58ch;color:rgba(255,255,255,.86);font-size:16px;line-height:1.75}
.teba-hero-v62__actions{margin:24px 0 0}
.teba-hero-v62__stats{grid-template-columns:repeat(4,minmax(0,1fr));max-width:560px;gap:12px;margin-top:22px}
.teba-hero-v62__stats .teba-stat-card{padding:18px 18px;background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.12)}
.teba-hero-v62__stats .teba-stat-card strong{font-size:24px}
.teba-hero-v62__stats .teba-stat-card span{font-size:13px;line-height:1.45}
.teba-hero-v62__media{display:flex;justify-content:flex-end}
.teba-hero-v62__media-card{position:relative;width:min(100%,500px);min-height:360px;border-radius:30px;overflow:hidden;box-shadow:0 24px 60px rgba(15,23,42,.24);background:#0f172a;border:1px solid rgba(255,255,255,.12)}
.teba-hero-v62__media-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teba-hero-v62__media-content{left:20px;right:20px;bottom:20px}
.teba-hero-v62__media-content h3{margin:14px 0 0;font-size:clamp(20px,1.8vw,28px);line-height:1.16;max-width:16ch}
.teba-hero-v62__grid.hero-title-size-small .teba-hero-v62__copy h1{font-size:clamp(28px,2.6vw,40px);max-width:14ch}
.teba-hero-v62__grid.hero-title-size-medium .teba-hero-v62__copy h1{font-size:clamp(32px,3vw,48px);max-width:13ch}
.teba-hero-v62__grid.hero-title-size-large .teba-hero-v62__copy h1{font-size:clamp(36px,3.6vw,54px);max-width:12ch}
@media (max-width: 1199px){
  .teba-hero-v62__grid{grid-template-columns:minmax(0,1fr) minmax(320px,.88fr);gap:28px;min-height:480px}
  .teba-hero-v62__copy{max-width:560px}
  .teba-hero-v62__stats{grid-template-columns:repeat(2,minmax(0,1fr));max-width:440px}
}
@media (max-width: 991px){
  .teba-hero-v62{padding:28px 0 24px}
  .teba-hero-v62__grid{grid-template-columns:1fr;gap:24px;min-height:auto}
  .teba-hero-v62__media{justify-content:stretch;order:-1}
  .teba-hero-v62__media-card{width:100%;min-height:280px}
  .teba-hero-v62__copy{max-width:none;padding:0}
  .teba-hero-v62__copy h1,.teba-hero-v62__grid.hero-title-size-small .teba-hero-v62__copy h1,.teba-hero-v62__grid.hero-title-size-medium .teba-hero-v62__copy h1,.teba-hero-v62__grid.hero-title-size-large .teba-hero-v62__copy h1{font-size:clamp(30px,7vw,42px);max-width:none}
  .teba-hero-v62__stats{max-width:none}
}
@media (max-width: 640px){
  .teba-hero-v62__stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .teba-hero-v62__copy p{font-size:15px}
}


/* V6.3 references anchor and layout fix */
#about,#services,#projects,#references,#contact{scroll-margin-top:110px}
.teba-reference-section{position:relative}
.teba-reference-wrap{display:grid;gap:26px}
.teba-reference-heading{max-width:760px;margin:0 auto 6px}
.teba-reference-grid{align-items:stretch}
.teba-reference-card{display:flex;flex-direction:column;justify-content:flex-start;min-height:100%}
.teba-reference-card p{flex:1}
.teba-reference-card .teba-btn{align-self:flex-start;margin-top:6px}
@media (max-width: 991px){
  #about,#services,#projects,#references,#contact{scroll-margin-top:92px}
  .teba-reference-wrap{gap:18px}
}


/* V6.4 about section desktop fix */
.teba-about-section{position:relative}
.teba-about-stack{display:grid;gap:28px}
.teba-about-top{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:28px;align-items:center}
.teba-about-visual{min-width:0}
.teba-about-visual-card{position:relative;min-height:320px;border-radius:32px;overflow:hidden;background:#0f172a;box-shadow:var(--shadow);border:1px solid var(--border)}
.teba-about-visual-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.teba-about-visual-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(15,23,42,.10),rgba(15,23,42,.62))}
.teba-about-visual-badge{position:absolute;left:18px;bottom:18px;z-index:2}
.teba-about-intro{max-width:none;margin-bottom:0}
.teba-about-intro h2{font-size:clamp(30px,3.4vw,56px);line-height:1.08}
.teba-about-intro p{font-size:18px;line-height:1.85;max-width:56ch}
.teba-about-prose{padding:34px}
.teba-about-prose::after{content:"";display:block;clear:both}
.teba-about-prose img{max-width:100%;height:auto;border-radius:18px}
.teba-about-prose table{width:100%;display:block;overflow:auto}
.teba-about-prose iframe{max-width:100%}
@media (max-width: 991px){
  .teba-about-top{grid-template-columns:1fr;gap:22px}
  .teba-about-visual-card{min-height:240px}
  .teba-about-intro h2{font-size:clamp(28px,7vw,42px)}
  .teba-about-intro p{font-size:16px}
  .teba-about-prose{padding:24px}
}



/* V6.7 hero background settings */
.teba-hero-v62{background:var(--hero-bg-color,#60584d)}
.teba-hero-v62__media-card{background:#0f172a}
