:root{
  --bg:#fbf8f3;--paper:#fff;--cream:#f5eee6;--text:#25173e;--muted:#6d617d;--line:#e9ddce;
  --primary:#4c2a91;--primary2:#6b42e6;--gold:#c89338;--green:#12ad62;--pink:#d92d82;--blue:#0a66c2;--dark:#1d1432;
  --shadow:0 22px 60px rgba(38,25,67,.12);--soft:0 12px 34px rgba(38,25,67,.08);
  --serif:Georgia,'Times New Roman',serif;--sans:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  --max:1180px;--radius:22px;
}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);line-height:1.55;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.hidden{display:none!important}.container{width:min(var(--max),calc(100% - 48px));margin:0 auto}.serif{font-family:var(--serif)}
.btn{border:0;border-radius:13px;min-height:44px;padding:12px 17px;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:900;letter-spacing:-.01em;white-space:nowrap;box-shadow:0 10px 22px rgba(30,18,55,.08);transition:.16s ease}.btn:hover{transform:translateY(-1px)}.btn.primary{background:var(--primary);color:#fff}.btn.secondary{background:#fff;color:var(--primary);border:1px solid var(--line)}.btn.gold{background:linear-gradient(135deg,var(--gold),#e6bd72);color:#fff}.btn.whatsapp{background:var(--green);color:#fff}.btn.instagram{background:var(--pink);color:#fff}.btn.linkedin{background:var(--blue);color:#fff}.btn.x{background:#111827;color:#fff}.btn.mail{background:#473b75;color:#fff}.btn.map{background:#fff;color:var(--gold);border:1px solid var(--line)}.btn.danger{background:#e94d4d;color:#fff}.btn.small{min-height:34px;padding:8px 11px;border-radius:10px;font-size:13px}.btn.block{width:100%}.ico{width:18px;height:18px;display:inline-grid;place-items:center;flex:none}.ico svg{width:18px;height:18px;display:block;fill:currentColor}
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}.admin-on .site-header{top:54px}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:12px;min-width:245px}.lp-logo{width:52px;height:52px;flex:0 0 52px}.lp-logo-img{width:52px;height:52px;object-fit:contain;display:block;flex:0 0 52px}.brand-name{font-weight:950;line-height:1;font-size:17px;letter-spacing:-.03em;text-transform:uppercase}.brand-sub{font-size:12px;color:var(--muted);margin-top:4px}.site-nav{display:flex;align-items:center;justify-content:center;gap:5px;flex:1}.site-nav a{font-size:14px;font-weight:900;padding:10px 13px;border-radius:999px;white-space:nowrap}.site-nav a.active,.site-nav a:hover{background:#eee8ff;color:var(--primary)}.header-actions{display:flex;align-items:center;gap:9px}.header-actions .btn{min-height:40px;padding:10px 13px;font-size:13px}.mobile-toggle{display:none;background:var(--text);color:#fff;border:0;border-radius:13px;width:46px;height:46px;font-size:22px}.mobile-menu{display:none}
.admin-bar{height:54px;position:sticky;top:0;z-index:130;background:#0d1420;color:#fff;display:flex;align-items:center;gap:14px;padding:0 18px;box-shadow:0 14px 34px rgba(0,0,0,.18)}.admin-title{font-weight:950;white-space:nowrap}.admin-title span{font-size:12px;background:rgba(36,214,123,.16);color:#42e58e;border-radius:99px;padding:4px 7px;margin-left:5px}.admin-actions{margin-left:auto;display:flex;gap:8px;flex-wrap:wrap}.admin-action{border:1px solid rgba(255,255,255,.12);background:#1d2a3c;color:#fff;border-radius:10px;padding:8px 11px;font-size:13px;font-weight:850}.admin-action.primary{background:#255dff}.admin-action.green{background:#0ea568}.admin-action.ghost{background:transparent}.admin-action.is-saved{background:#177245}.admin-action.is-live{background:#1b7f4b}.admin-action.needs-save{background:#6543d1}.admin-on .editable{position:relative;outline:1.5px dashed rgba(21,105,255,.48);outline-offset:-6px}.admin-on .editable:hover{outline-color:#0b71ff;outline-width:2px}.edit-tag{position:absolute;right:10px;top:10px;z-index:20;background:#1169ff;color:#fff;border:0;border-radius:99px;padding:7px 10px;font-size:12px;font-weight:950;box-shadow:0 8px 18px rgba(17,105,255,.25)}.preview-badge{position:fixed;bottom:16px;left:16px;z-index:250;background:#111827;color:#fff;border-radius:99px;padding:10px 14px;font-weight:950;box-shadow:var(--shadow)}
.hero{background:linear-gradient(180deg,#fff,#fbf8f3);border-bottom:1px solid var(--line);overflow:hidden}.hero-grid{min-height:600px;display:grid;grid-template-columns:.94fr 1.06fr;gap:38px;align-items:center;padding:34px 0 64px}.eyebrow{font-size:12px;letter-spacing:.15em;text-transform:uppercase;font-weight:950;color:var(--gold);margin-bottom:14px}.hero-title{font-family:var(--serif);font-size:clamp(42px,4.8vw,62px);line-height:1.03;letter-spacing:-.045em;margin:0 0 18px;max-width:640px}.hero-title strong{color:var(--primary);font-weight:inherit}.hero-text{font-size:18px;color:var(--muted);max-width:610px;margin:0 0 24px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-media{border-radius:34px;overflow:hidden;background:#f0e6dc;border:1px solid rgba(255,255,255,.8);box-shadow:var(--shadow)}.hero-media img{width:100%;height:500px;object-fit:cover;object-position:center;image-rendering:auto}.stats-wrap{margin-top:-40px;position:relative;z-index:4}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card{background:rgba(255,255,255,.96);border:1px solid rgba(255,255,255,.95);box-shadow:var(--soft);border-radius:20px;padding:20px;display:flex;align-items:center;gap:14px;min-width:0}.stat-icon{width:42px;height:42px;border-radius:14px;background:#f0e8ff;color:var(--primary);display:grid;place-items:center;flex:0 0 auto}.stat-value{font-family:var(--serif);font-size:30px;line-height:1}.stat-label{font-size:13px;color:var(--muted);margin-top:3px}.section{padding:72px 0}.section.compact{padding:44px 0}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:26px}.kicker{font-size:12px;letter-spacing:.15em;text-transform:uppercase;font-weight:950;color:var(--gold);margin-bottom:6px}.section-title{font-family:var(--serif);font-size:clamp(34px,4vw,50px);line-height:1.08;letter-spacing:-.03em;margin:0}.section-desc{color:var(--muted);margin:9px 0 0;max-width:690px}.cards-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.service-card,.post-card,.surface-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--soft);overflow:hidden}.service-image,.post-image{height:188px;background:#eaded2;overflow:hidden}.service-image img,.post-image img{width:100%;height:100%;object-fit:cover;image-rendering:auto}.service-body,.post-body{padding:20px}.service-body h3{font-family:var(--serif);font-size:25px;line-height:1.1;margin:0 0 9px}.service-body p,.post-body p{color:var(--muted);margin:0 0 14px}.text-link{font-weight:950;color:var(--primary);display:inline-flex;align-items:center;gap:6px}.contact-band{border:1px solid var(--line);background:linear-gradient(135deg,#fff,#f8efe7);border-radius:28px;box-shadow:var(--soft);padding:34px;text-align:center}.contact-band h2{font-family:var(--serif);font-size:34px;line-height:1.08;margin:0 0 8px}.contact-band p{color:var(--muted);margin:0 auto 20px;max-width:680px}.contact-actions{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap}.posts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.post-body h3{font-family:var(--serif);font-size:20px;line-height:1.15;margin:0 0 7px}.post-meta{font-size:12px;color:var(--primary);font-weight:900;margin-bottom:6px}.post-date{font-size:12px;color:var(--muted)}.footer{background:#24183f;color:#fff;margin-top:60px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding:38px 0}.footer a,.footer p{color:rgba(255,255,255,.78)}.footer h4{margin:0 0 12px}.footer-links{display:grid;gap:8px}.social-row{display:flex;gap:9px;flex-wrap:wrap}.social-dot{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;color:#fff}.social-dot.instagram{background:var(--pink)}.social-dot.whatsapp{background:var(--green)}.social-dot.linkedin{background:var(--blue)}.social-dot.x{background:#111827}.page-hero{border-bottom:1px solid var(--line);background:#fff;padding:64px 0}.breadcrumb{color:var(--muted);font-size:14px;margin-bottom:12px}.services-list{display:grid;gap:18px}.service-row{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--soft);display:grid;grid-template-columns:260px 1fr auto;align-items:center;gap:24px;padding:18px}.service-row img{width:260px;height:160px;object-fit:cover;border-radius:18px}.service-row h2{font-family:var(--serif);font-size:30px;margin:0 0 8px}.service-detail{display:grid;grid-template-columns:1fr .72fr;gap:28px;align-items:start}.detail-image{border-radius:28px;box-shadow:var(--shadow);overflow:hidden}.detail-image img{width:100%;height:420px;object-fit:cover}.detail-text{background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--soft)}.detail-text h1{font-family:var(--serif);font-size:46px;line-height:1.05;margin:0 0 14px}.contact-page-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:24px}.contact-list{display:grid;gap:12px}.contact-item{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff}.contact-item .mark{width:42px;height:42px;border-radius:14px;color:#fff;display:grid;place-items:center;flex:0 0 auto}.contact-item h4{margin:0;font-size:15px}.contact-item p{margin:2px 0 0;color:var(--muted);word-break:break-word}.contact-note{background:#fff;border:1px solid var(--line);border-radius:26px;padding:30px;box-shadow:var(--soft)}.empty-admin{background:#fff7e8;border:1px dashed #d6a24a;color:#795b22;border-radius:16px;padding:14px;font-weight:800}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 20% 20%,#eadcff,transparent 28%),linear-gradient(135deg,#fbf8f3,#fff);padding:24px}.login-card{width:min(480px,100%);background:#fff;border:1px solid var(--line);border-radius:28px;padding:32px;box-shadow:var(--shadow)}.login-card h1{font-family:var(--serif);font-size:38px;line-height:1.08;margin:0 0 8px}.login-card p{color:var(--muted)}.field{display:grid;gap:7px;margin-bottom:14px}.field label{font-size:13px;font-weight:900}.field input,.field textarea,.field select{width:100%;border:1px solid #ddd3c7;border-radius:13px;background:#fff;padding:12px 13px;color:var(--text);outline:0}.field textarea{min-height:92px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--primary);box-shadow:0 0 0 3px rgba(91,50,201,.12)}.field small{font-size:12px;color:var(--muted)}.modal-backdrop{position:fixed;inset:0;z-index:300;background:rgba(15,11,28,.42);backdrop-filter:blur(5px);display:flex;justify-content:flex-end}.modal{width:min(460px,100%);height:100%;overflow:auto;background:#fff;border-left:1px solid var(--line);padding:22px;box-shadow:var(--shadow)}.modal.wide{width:min(920px,100%)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.modal-head h2{font-family:var(--serif);font-size:30px;margin:0}.close{border:0;background:#f4eef8;border-radius:12px;width:38px;height:38px;font-size:22px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px;position:sticky;bottom:0;background:#fff;padding-top:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.menu-table{width:100%;border-collapse:separate;border-spacing:0 8px}.menu-table th{text-align:left;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.menu-table td{background:#fbf8f3;padding:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.menu-table td:first-child{border-left:1px solid var(--line);border-radius:14px 0 0 14px}.menu-table td:last-child{border-right:1px solid var(--line);border-radius:0 14px 14px 0}.image-preview{display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center}.image-preview img{width:110px;height:75px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}.upload-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.upload-label{position:relative;overflow:hidden}.posts-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:24px;align-items:start}.posts-sidebar{position:sticky;top:120px}.category-panel{background:#fff;border:1px solid var(--line);border-radius:22px;box-shadow:var(--soft);padding:18px;display:flex;flex-direction:column;gap:10px;max-height:72vh;overflow:auto}.category-panel h3{margin:0 0 4px;font-family:var(--serif);font-size:28px}.category-chip{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);background:#fff;border-radius:14px;padding:11px 12px;font-weight:850;color:var(--text)}.category-chip.active{background:#f0e8ff;color:var(--primary);border-color:#d9ccff}.post-detail p{margin:0 0 16px;color:var(--muted);font-size:17px;line-height:1.75}.post-inline-image{margin:18px 0;border-radius:20px;overflow:hidden;border:1px solid var(--line);box-shadow:var(--soft)}.post-inline-image img{width:100%;height:auto;display:block;max-height:760px;object-fit:cover}.post-inline-image.width-35{max-width:35%}.post-inline-image.width-50{max-width:50%}.post-inline-image.width-66{max-width:66%}.post-inline-image.width-100{max-width:100%}.gallery-list{display:grid;gap:14px;margin:18px 0}.gallery-row{border:1px solid var(--line);border-radius:18px;padding:14px;background:#fbf8f3}.gallery-row-grid{display:grid;grid-template-columns:1fr;gap:12px}.post-category-tools .btn{width:100%}.toast{position:fixed;z-index:500;bottom:18px;right:18px;background:#111827;color:#fff;border-radius:14px;padding:12px 16px;font-weight:900;box-shadow:var(--shadow)}.admin-tools{position:fixed;right:18px;bottom:18px;z-index:100;background:#111827;color:#fff;border-radius:20px;padding:14px;width:260px;box-shadow:var(--shadow)}.admin-tools h3{margin:0 0 8px}.admin-tools button{display:flex;align-items:center;justify-content:space-between;width:100%;border:0;border-radius:12px;background:#1d2a3c;color:#fff;margin-top:8px;padding:10px;font-weight:850;text-align:left}.admin-tools .add{background:#0ea568}.mini-tabs{display:flex;gap:8px;margin-bottom:14px}.mini-tabs button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:8px 11px;font-weight:900}.mini-tabs button.active{background:#f0e8ff;color:var(--primary)}
@media (max-width:1100px){.header-inner{height:78px}.site-nav{display:none}.mobile-toggle{display:block}.header-actions .btn.header-only{display:none}.mobile-menu{display:none;padding:0 24px 18px;background:#fff;border-top:1px solid var(--line)}.mobile-menu.open{display:grid;gap:8px}.mobile-menu a{padding:12px 14px;border-radius:14px;font-weight:900}.mobile-menu a.active{background:#eee8ff;color:var(--primary)}.mobile-menu .contact-actions{justify-content:flex-start}.hero-grid{grid-template-columns:1fr;min-height:auto;padding:34px 0 70px}.hero-media{max-width:680px}.hero-media img{height:440px}.stats-grid{grid-template-columns:repeat(2,1fr)}.cards-grid{grid-template-columns:repeat(2,1fr)}.posts-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.service-row{grid-template-columns:190px 1fr;}.service-row .btn{grid-column:2}.contact-page-grid,.service-detail,.posts-layout{grid-template-columns:1fr}.posts-sidebar{position:static}.admin-tools{display:none}}
@media (max-width:760px){.container{width:min(100% - 28px,var(--max))}.admin-on .site-header{top:0}.admin-bar{position:relative;height:auto;min-height:54px;align-items:flex-start;flex-direction:column;padding:10px 12px}.admin-actions{margin-left:0;width:100%;display:grid;grid-template-columns:repeat(2,1fr)}.admin-action{font-size:12px;padding:8px}.header-inner{height:auto;min-height:76px;padding:10px 0}.brand{min-width:0}.lp-logo,.lp-logo-img{width:44px;height:44px}.brand-name{font-size:14px}.brand-sub{font-size:11px}.hero-grid{gap:22px;padding:22px 0 54px}.hero-title{font-size:clamp(34px,10vw,46px);letter-spacing:-.04em}.hero-text{font-size:16px}.hero-actions .btn{width:100%}.hero-media{border-radius:24px}.hero-media img{height:330px}.stats-wrap{margin-top:-26px}.stats-grid{grid-template-columns:1fr 1fr;gap:10px}.stat-card{padding:14px;gap:10px}.stat-icon{width:36px;height:36px;border-radius:12px}.stat-value{font-size:24px}.stat-label{font-size:11px}.section{padding:52px 0}.section-head{align-items:flex-start;flex-direction:column}.cards-grid,.posts-grid{grid-template-columns:1fr}.service-image,.post-image{height:205px}.contact-band{padding:24px 16px}.contact-band h2{font-size:28px}.contact-actions .btn{width:100%}.footer-grid{grid-template-columns:1fr}.page-hero{padding:42px 0}.service-row{grid-template-columns:1fr;padding:14px}.service-row img{width:100%;height:210px}.service-row .btn{grid-column:auto}.service-row h2{font-size:27px}.detail-text h1{font-size:36px}.detail-image img{height:300px}.form-row{grid-template-columns:1fr}.modal-backdrop{justify-content:center}.modal,.modal.wide{width:100%;border-left:0}.image-preview{grid-template-columns:1fr}.image-preview img{width:100%;height:160px}.post-inline-image.width-35,.post-inline-image.width-50,.post-inline-image.width-66,.post-inline-image.width-100{max-width:100%}.toast{left:14px;right:14px;text-align:center}.menu-table{font-size:13px}.menu-table td{display:block;border-radius:0!important}.menu-table tr{display:block;margin-bottom:10px;background:#fbf8f3;border:1px solid var(--line);border-radius:16px;overflow:hidden}.menu-table thead{display:none}}
@media (max-width:420px){.stats-grid{grid-template-columns:1fr}.hero-media img{height:290px}.section-title{font-size:32px}.btn{white-space:normal;text-align:center}.header-actions{gap:6px}.mobile-toggle{width:42px;height:42px}.admin-actions{grid-template-columns:1fr 1fr}.service-body h3{font-size:23px}}


.content-media-box{border:1px solid var(--line);background:#fffdf9;border-radius:18px;padding:16px;margin:16px 0}.content-media-box h3{margin:0 0 4px;font-family:var(--serif);font-size:24px}.content-media-box p{margin:0 0 10px;color:var(--muted)}.editor-help{font-size:13px;color:var(--muted);background:#f7f0ff;border:1px solid #e2d5ff;border-radius:14px;padding:10px 12px;margin:-6px 0 14px}.post-live-preview{border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px;margin:16px 0}.post-live-preview h3{font-family:var(--serif);font-size:24px;margin:0 0 12px}.preview-card{border:1px dashed #d5c8bb;border-radius:16px;padding:14px;background:#fbf8f3}.preview-card h2{font-family:var(--serif);font-size:30px;margin:6px 0}.preview-card p{color:var(--muted)}.ig-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:16px}.ig-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.ig-card img{width:100%;height:130px;object-fit:cover}.ig-card span{display:block;padding:9px;font-size:13px;font-weight:800}.modal.post-modal{width:min(980px,100%)}

.contact-admin-card{padding:14px;margin-bottom:10px}.ig-login-box{display:flex;gap:14px;align-items:center;border:1px solid var(--line);background:#fff;border-radius:18px;padding:16px;margin-bottom:14px}.ig-login-box h3{margin:0 0 4px;font-family:var(--serif);font-size:24px}.ig-login-box p{margin:0;color:var(--muted)}.ig-logo{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af,#515bd4)}.ig-subtitle{font-family:var(--serif);font-size:24px;margin:18px 0 10px}.content-media-box{border:1px solid var(--line);background:#fffdf9;border-radius:18px;padding:16px;margin:16px 0}.content-media-box h3{margin:0 0 4px;font-family:var(--serif);font-size:24px}.content-media-box p{margin:0 0 10px;color:var(--muted)}.editor-help{font-size:13px;color:var(--muted);background:#f7f0ff;border:1px solid #e2d5ff;border-radius:14px;padding:10px 12px;margin:-6px 0 14px}.post-live-preview{border:1px solid var(--line);border-radius:18px;background:#fff;padding:16px;margin:16px 0}.post-live-preview h3{font-family:var(--serif);font-size:24px;margin:0 0 12px}.preview-card{border:1px dashed #d5c8bb;border-radius:16px;padding:14px;background:#fbf8f3}.preview-card h2{font-family:var(--serif);font-size:30px;margin:6px 0}.preview-card p{color:var(--muted)}.ig-preview{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:10px}.ig-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}.ig-card img{width:100%;height:130px;object-fit:cover}.ig-card span{display:block;padding:9px;font-size:13px;font-weight:800}.modal.post-modal{width:min(980px,100%)}


.preview-badge button{margin-left:10px;border:0;border-radius:999px;background:#fff;color:#111827;font-weight:900;padding:7px 10px}
.inline-edit-pill,.media-edit-pill{border:0;border-radius:999px;background:#1169ff;color:#fff;font-weight:950;padding:9px 13px;display:inline-flex;gap:8px;align-items:center;box-shadow:0 10px 24px rgba(17,105,255,.24);margin-bottom:14px}
.hero-copy{position:relative}.hero-media{position:relative}.media-edit-pill{position:absolute;right:16px;top:16px;z-index:5}
.category-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auto-link-note{display:block;color:var(--muted);margin:-4px 0 12px;font-size:12px}
.post-detail,.detail-text{min-width:0}
.post-detail p,.detail-text p{overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.post-inline-image{background:#f7f1e8;display:flex;align-items:center;justify-content:center}
.post-inline-image img{width:100%;height:auto;max-height:520px;object-fit:contain}
.post-inline-image.width-35{width:35%;max-width:35%}.post-inline-image.width-50{width:50%;max-width:50%}.post-inline-image.width-66{width:66%;max-width:66%}.post-inline-image.width-100{width:100%;max-width:100%}
.ig-login-box.connected{border-color:#14ad64;background:#f0fff7}.ig-login-box.connected .ig-logo{background:#14ad64}

@media (max-width:760px){.post-inline-image.width-35,.post-inline-image.width-50,.post-inline-image.width-66,.post-inline-image.width-100{width:100%;max-width:100%}.media-edit-pill,.inline-edit-pill{font-size:12px}}


/* V12 editor, menu and responsive fixes */
.post-modal .modal-actions{z-index:20}
.post-modal form{max-width:100%;overflow-x:hidden}
.post-modal textarea,.post-modal input,.post-modal select{max-width:100%}
.preview-card,.post-detail,.detail-text{max-width:100%;overflow-wrap:anywhere;word-break:break-word}
.preview-card p,.post-detail p,.detail-text p{overflow-wrap:anywhere;word-break:break-word;white-space:normal}
.post-inline-image{background:#f7f1e8;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin:10px 18px 16px 0;display:block;clear:none}
.post-inline-image img{width:100%;height:auto;max-height:520px;object-fit:contain;display:block}
.post-inline-image.align-left{float:left;width:var(--media-w);max-width:min(var(--media-w),100%)}
.post-inline-image.align-right{float:right;width:var(--media-w);max-width:min(var(--media-w),100%);margin:10px 0 16px 18px}
.post-inline-image.align-center{float:none;width:var(--media-w);max-width:100%;margin:16px auto}
.post-inline-image.align-full{float:none;width:100%;max-width:100%;margin:16px 0}
.flow-clear{clear:both}
.mini-resize-preview{border:1px dashed #d6c9bb;border-radius:16px;padding:12px;background:#fff;max-width:100%;overflow:hidden}
.resizable-media-preview{position:relative;min-width:25%;max-width:100%;border-radius:14px;overflow:hidden;background:#f7f1e8;border:1px solid var(--line)}
.resizable-media-preview img{width:100%;height:auto;max-height:260px;object-fit:contain;display:block}
.resize-handle{position:absolute;right:0;bottom:0;width:24px;height:24px;background:linear-gradient(135deg,transparent 50%,var(--primary) 51%);cursor:nwse-resize;border-radius:0 0 12px 0}
.category-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.auto-link-note{display:block;color:var(--muted);font-size:12px;margin:0 0 14px}
.ig-login-box.connected{border-color:#14ad64;background:#f0fff7}.ig-login-box.connected .ig-logo{background:#14ad64}
@media(max-width:1100px){.posts-layout{grid-template-columns:1fr}.posts-sidebar{position:static}.hero-title{overflow-wrap:anywhere}.section-title{overflow-wrap:anywhere}.modal{max-width:100vw}}
@media(max-width:760px){
  body{overflow-x:hidden}.site-header,.admin-bar,.section,.hero,.footer{max-width:100vw;overflow-x:hidden}
  .post-inline-image.align-left,.post-inline-image.align-right,.post-inline-image.align-center,.post-inline-image.align-full{float:none;width:100%!important;max-width:100%;margin:14px 0}
  .preview-card{overflow-x:hidden}
  .modal,.modal.wide,.modal.post-modal{width:100%;max-width:100%;overflow-x:hidden}
  .gallery-row,.content-media-box,.post-live-preview{max-width:100%;overflow-x:hidden}
  .hero-grid,.service-detail,.contact-page-grid{max-width:100%;overflow-x:hidden}
}


/* V13 responsive overflow and Instagram/stat fixes */
html,body,#app{max-width:100%;overflow-x:hidden}
*{box-sizing:border-box}
img,svg,video,canvas{max-width:100%}
.site-header,.hero,.section,.page-hero,.footer,.admin-bar,.modal,.modal-backdrop{max-width:100vw}
.post-card,.service-card,.service-row,.stat-card,.contact-band,.surface-card,.category-panel,.preview-card,.post-body,.detail-text,.post-detail{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.post-card h3,.post-card p,.service-card h3,.service-card p,.service-row h2,.service-row p,.hero-title,.section-title,.hero-text,.detail-text h1,.detail-text p,.preview-card h2,.preview-card p{overflow-wrap:anywhere;word-break:break-word}
.posts-grid,.cards-grid,.stats-grid{min-width:0}
.post-image img,.service-image img,.hero-media img,.detail-image img{max-width:100%;object-fit:cover}
.preview-card{overflow-x:hidden}
.post-detail p,.detail-text p{white-space:normal;max-width:100%}
.post-inline-image img{object-fit:contain}
.ig-preview{max-width:100%;overflow:hidden}
.ig-card{min-width:0;overflow:hidden}
.ig-card span{overflow-wrap:anywhere;word-break:break-word}
.empty-edit .empty-admin{margin:12px 0}
@media(max-width:1100px){
  .posts-layout{grid-template-columns:1fr}
  .posts-sidebar{position:static;max-width:100%}
  .category-panel{max-height:360px}
}
@media(max-width:760px){
  .admin-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .admin-action{min-width:0;white-space:normal}
  .hero-title{font-size:clamp(32px,10vw,48px)}
  .posts-grid,.cards-grid{grid-template-columns:1fr}
  .post-card,.service-card{width:100%}
  .post-inline-image.align-left,.post-inline-image.align-right,.post-inline-image.align-center,.post-inline-image.align-full{float:none;width:100%!important;max-width:100%;margin:14px 0}
  .modal,.modal.wide,.modal.post-modal{width:100%;max-width:100vw;overflow-x:hidden}
  .modal-backdrop{overflow-x:hidden}
  .form-row{grid-template-columns:1fr}
  .ig-preview{grid-template-columns:1fr}
}


/* V15 post summary and admin updates */
.post-card .post-body p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.post-card h3{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;word-break:break-word}
.admin-action{white-space:nowrap}
@media(max-width:760px){.admin-action{white-space:normal}.post-card .post-body p{-webkit-line-clamp:5}}


/* V16 Instagram hidden skeleton */
[data-edit="social"],
.ig-login-box,
.ig-subtitle,
.ig-preview {
  display: none !important;
}


/* V17 kategori başlığı satır kırılma düzeltmesi */
.category-title-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:nowrap;
}
.category-title-row h3,
.category-panel h3{
  margin:0;
  font-size:clamp(26px, 2vw, 34px);
  line-height:1.08;
  white-space:nowrap;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:none;
}
.category-title-row .btn{
  flex:0 0 auto;
}
@media(max-width:760px){
  .category-title-row{
    flex-wrap:wrap;
  }
  .category-title-row h3,
  .category-panel h3{
    font-size:28px;
  }
}


/* V18 post silme ve sayfalama */
.admin-post-card{
  position:relative;
}
.post-admin-actions{
  display:flex;
  gap:8px;
  padding:0 18px 18px;
  margin-top:-4px;
}
.post-admin-actions .btn{
  flex:1;
  justify-content:center;
}
.pagination{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:28px auto 0;
}
.page-btn{
  min-width:40px;
  height:40px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  font-weight:900;
  cursor:pointer;
}
.page-btn.active{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}
.page-btn:disabled{
  opacity:.45;
  cursor:not-allowed;
}
.posts-main{
  min-width:0;
}
@media(max-width:760px){
  .post-admin-actions{
    padding:0 14px 14px;
  }
  .page-btn{
    min-width:36px;
    height:36px;
  }
}


/* V19 password/recovery modal safety */
#passwordForm .empty-admin{
  margin-top:12px;
}


/* V23 cookie/privacy + backup + public sync */
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:14px 0;
  color:rgba(255,255,255,.65);
  font-size:13px;
}
.footer-bottom a{
  color:rgba(255,255,255,.85);
  text-decoration:none;
}
.legal-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:clamp(22px,4vw,42px);
  box-shadow:var(--shadow);
}
.legal-card h2{
  margin:24px 0 10px;
}
.legal-card h2:first-child{
  margin-top:0;
}
.legal-card p{
  color:var(--muted);
  line-height:1.8;
}
.legal-table{
  display:grid;
  gap:12px;
  margin:20px 0;
}
.legal-table div{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:16px;
  padding:16px;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fbfaf7;
}
.legal-table span{
  color:var(--muted);
  line-height:1.6;
}
.backup-panel p{
  color:var(--muted);
  line-height:1.7;
}
.backup-actions{
  display:grid;
  gap:10px;
  margin:18px 0;
}
@media(max-width:760px){
  .legal-table div{
    grid-template-columns:1fr;
  }
}


/* V26 save/publish feedback fix */
.toast{
  z-index:999999 !important;
}
.admin-action.needs-save{
  box-shadow:0 0 0 2px rgba(220,38,38,.22), 0 12px 24px rgba(0,0,0,.12);
}
.admin-action.is-saved,
.admin-action.is-live{
  opacity:.92;
}


/* V30 görsel tam sığdırma düzeltmesi
   Amaç: Yüklenen görseller kırpılmadan, taşmadan ve oranı bozulmadan kutuya sığsın.
   object-fit: contain kullanılır; görsel eksilmez, yamulmaz, taşmaz. */
.hero-visual,
.about-visual,
.service-detail-visual,
.service-media,
.post-image,
.image-preview,
.post-inline-image,
.content-media-box,
.gallery-row .image-preview{
  overflow:hidden;
}

.hero-visual img,
.about-visual img,
.service-detail-visual img,
.service-media img,
.post-image img,
.image-preview img,
.post-inline-image img,
.gallery-row .image-preview img{
  display:block;
  width:100%;
  max-width:100%;
  height:100%;
  max-height:100%;
  object-fit:contain !important;
  object-position:center center !important;
  background:#fff;
}

/* Detay sayfaları ve büyük tanıtım görsellerinde kırpma olmaması için kontrollü alan */
.service-detail-visual,
.about-visual,
.hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
}

.service-detail-visual img,
.about-visual img,
.hero-visual img{
  aspect-ratio:auto;
}

/* Görsel afiş/poster gibi dikey ya da yatay gelebilir; kart içinde taşmasın */
.service-detail-visual{
  min-height:360px;
  max-height:620px;
  background:#fff;
  border-radius:28px;
}

.service-detail-visual img{
  width:100%;
  height:100%;
  min-height:360px;
}

/* Kapak ve post kartlarında da görselin üstü/altı kesilmesin */
.post-image{
  background:#fff;
}
.post-image img{
  aspect-ratio:auto !important;
}

/* İçerik içi görseller seçilen genişliği korur ama kırpılmaz */
.post-inline-image img{
  height:auto !important;
}

/* Admin önizleme görselleri kırpılmasın */
.image-preview{
  background:#fff;
}
.image-preview img{
  height:auto;
  max-height:220px;
}

/* Mobilde taşma/kesilme olmasın */
@media(max-width:760px){
  .service-detail-visual{
    min-height:260px;
    max-height:none;
  }
  .service-detail-visual img{
    min-height:0;
    height:auto;
  }
  .hero-visual img,
  .about-visual img,
  .service-media img,
  .post-image img{
    height:auto;
    min-height:0;
  }
}


/* V31 mobil header düzenle butonu çakışma düzeltmesi */
@media(max-width:760px){
  .site-header.editable{
    padding-top:78px;
  }
  .site-header > .edit-tag,
  .admin-on .site-header > .edit-tag{
    top:12px;
    right:14px;
    z-index:35;
  }
  .site-header .mobile-menu{
    position:relative;
    z-index:20;
  }
}


/* V32 metin boşlukları / satır başı koruma + hizmet sıralama */
.service-body p,
.service-row p,
.detail-text p,
.post-detail p,
.post-body p,
.section-desc,
.contact-band p,
.hero-text{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  word-break:normal;
}
.service-card,
.service-row,
.post-card{
  min-width:0;
}
.service-actions{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:flex-end;
}
.menu-table td{
  vertical-align:middle;
}
@media(max-width:760px){
  .service-actions{
    justify-content:flex-start;
  }
  .service-actions .btn{
    flex:1 1 auto;
  }
}


/* V33 hizmet görünürlüğü, sıralama ve metin boşluk koruma */
.service-card p,
.service-row p,
.detail-text p,
.post-detail p,
.post-body p,
.legal-card p{
  white-space:pre-line;
}

.home-services-empty{
  padding:28px 0;
}

.row-admin-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  margin-bottom:10px;
  width:100%;
}

@media(max-width:760px){
  .home-services-empty{
    padding:18px 0;
  }
  .row-admin-actions{
    justify-content:flex-start;
  }
}


/* V34 özel sayfa tasarlama alanı */
.custom-page-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:clamp(22px,4vw,48px);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);
  gap:clamp(22px,4vw,46px);
  align-items:center;
}
.custom-layout-left .custom-page-card{
  grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);
}
.custom-layout-top .custom-page-card,
.custom-layout-none .custom-page-card{
  grid-template-columns:1fr;
}
.custom-page-text{min-width:0;}
.custom-page-text h1{
  font-size:clamp(34px,4vw,62px);
  line-height:.98;
  margin:8px 0 16px;
}
.custom-page-intro,
.custom-page-body{
  color:var(--muted);
  line-height:1.75;
  white-space:pre-line;
  overflow-wrap:anywhere;
}
.custom-page-body{margin-top:18px;}
.custom-page-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:22px;
}
.custom-page-image{
  min-width:0;
  border-radius:24px;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
}
.custom-page-image img{
  width:100%;
  max-width:100%;
  height:auto;
  max-height:560px;
  object-fit:contain;
  display:block;
}
@media(max-width:900px){
  .custom-page-card,
  .custom-layout-left .custom-page-card{
    grid-template-columns:1fr;
  }
  .custom-layout-left .custom-page-image{order:2;}
  .custom-layout-left .custom-page-text{order:1;}
}
@media(max-width:760px){
  .custom-page-card{
    border-radius:22px;
    padding:20px;
  }
  .custom-page-text h1{font-size:34px;}
  .custom-page-actions .btn{width:100%;}
}


/* V35 sade özel sayfa + metin biçimlendirme */
.editor-section{border:1px solid var(--line);border-radius:18px;padding:16px;margin:0 0 14px;background:#fffdfa}.editor-section h3{margin:0 0 12px;font-size:18px}.mini-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px}.rich-field small{display:block;color:var(--muted);margin-top:6px}.rich-title,.rich-content-block h2{font-size:clamp(26px,3vw,40px);line-height:1.12;margin:18px 0 10px;color:var(--text)}.rich-subtitle,.rich-content-block h3{font-size:clamp(21px,2.2vw,30px);line-height:1.18;margin:16px 0 8px;color:var(--text)}.rich-content-block p{margin:0 0 12px;white-space:pre-line}.text-size-lg{font-size:1.18em;line-height:1.55}.text-size-sm{font-size:.9em}.custom-page-card{display:flex!important;align-items:center;gap:clamp(22px,4vw,46px)}.custom-page-text{flex:1 1 auto;min-width:0}.custom-page-image{flex:0 0 var(--custom-img-w,34%);max-width:var(--custom-img-w,34%);align-self:center}.custom-layout-left .custom-page-image{order:1}.custom-layout-left .custom-page-text{order:2}.custom-layout-right .custom-page-text{order:1}.custom-layout-right .custom-page-image{order:2}.custom-layout-top .custom-page-card,.custom-layout-none .custom-page-card{display:block!important}.custom-layout-top .custom-page-image{max-width:min(760px,100%);margin:0 auto 24px}.custom-layout-none .custom-page-image{display:none}.custom-content-block{margin-top:18px}.custom-content-block h2{font-size:clamp(24px,3vw,38px);line-height:1.15;margin:0 0 10px}.custom-block-text{color:var(--muted);line-height:1.75}@media(max-width:900px){.custom-page-card{display:block!important}.custom-page-image{max-width:100%;width:100%;margin:22px 0 0}.custom-layout-left .custom-page-image{margin:0 0 22px}}@media(max-width:760px){.mini-toolbar .btn{flex:1 1 calc(50% - 8px)}}


/* V37 sade yazı editörü düzeltmesi */
.mini-toolbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 8px;
}
.rich-field small{
  display:block;
  color:var(--muted);
  margin-top:6px;
}
.rich-title,
.rich-content-block h2{
  font-size:clamp(26px,3vw,40px);
  line-height:1.12;
  margin:18px 0 10px;
  color:var(--text);
}
.rich-subtitle,
.rich-content-block h3{
  font-size:clamp(21px,2.2vw,30px);
  line-height:1.18;
  margin:16px 0 8px;
  color:var(--text);
}
.rich-content-block p{
  margin:0 0 12px;
  white-space:pre-line;
}
.rich-content-block u,
.custom-block-text u{
  text-decoration:underline;
  text-underline-offset:3px;
}
.rich-content-block s,
.custom-block-text s{
  text-decoration:line-through;
}
.text-size-lg,
.text-size-sm{
  font-size:inherit;
}
@media(max-width:760px){
  .mini-toolbar .btn{
    flex:1 1 calc(50% - 8px);
  }
}

/* V38 Word mantığı yazı editörü */
.rich-editor-wrap{position:relative;}
.rich-editor-box{min-height:150px;width:100%;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;color:var(--text);outline:none;line-height:1.7;overflow:auto;}
.rich-editor-box:focus{border-color:#6d3adf;box-shadow:0 0 0 3px rgba(109,58,223,.13);}
.rich-editor-box h2,.rich-content-block h2,.rich-title{font-size:clamp(26px,3vw,40px);line-height:1.12;margin:16px 0 10px;color:var(--text);}
.rich-editor-box h3,.rich-content-block h3,.rich-subtitle{font-size:clamp(21px,2.2vw,30px);line-height:1.18;margin:14px 0 8px;color:var(--text);}
.rich-editor-box p,.rich-content-block p{margin:0 0 12px;white-space:pre-line;}
.rich-editor-box u,.rich-content-block u,.custom-block-text u{text-decoration:underline;text-underline-offset:3px;}
.rich-editor-box s,.rich-content-block s,.custom-block-text s{text-decoration:line-through;}
.mini-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 8px;}
.rich-field small{display:block;color:var(--muted);margin-top:6px;}
@media(max-width:760px){.mini-toolbar .btn{flex:1 1 calc(50% - 8px);}}


/* V40 yazı editörü aktif buton göstergesi */
.mini-toolbar .js-format{
  position:relative;
  transition:background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.mini-toolbar .js-format.is-active,
.mini-toolbar .js-format[aria-pressed="true"]{
  background:#5b2dbb !important;
  color:#fff !important;
  border-color:#5b2dbb !important;
  box-shadow:0 8px 18px rgba(91,45,187,.22);
}
.mini-toolbar .js-format.is-active::after,
.mini-toolbar .js-format[aria-pressed="true"]::after{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:#24d17e;
  position:absolute;
  top:6px;
  right:6px;
}
.mini-toolbar .js-format:focus-visible{
  outline:3px solid rgba(91,45,187,.25);
  outline-offset:2px;
}
