/* ==========================================================
   Shehroz Sajjad — Canva Graphic Designer
   Main stylesheet
   ----------------------------------------------------------
   1.  Design tokens
   2.  Base / reset
   3.  Shared pieces (container, guide lines, section title,
       buttons, big background words)
   4.  Header / nav
   5.  Hero
   6.  About
   7.  Services
   8.  Marquee band
   9.  Most recent works (sticky stacking cards)
   10. Portfolio
   11. Testimonials
   12. Blog / insights
   13. Pricing
   14. Contact
   15. Footer
   16. Project modal
   17. Scroll-to-top, reveal animations
   ========================================================== */

/* ---------- 1. DESIGN TOKENS ---------- */
:root{
  --white:      #FFFFFF;
  --grey-bg:    #F5F5F5;
  --grey-card:  #F4F4F4;
  --line:       #EBEBEB;
  --heading:    #323232;
  --text:       #687693;
  --dark:       #19181D;
  --accent:     #E5540A;
  --accent-soft:rgba(229,84,10,.10);
  --ghost:      #F7F7F7;

  /* used by the "Most recent works" section */
  --ink:        #10213D;
  --orange:     #E8611C;

  --font-head:  "Jost", "Futura PT", sans-serif;
  --font-body:  "Josefin Sans", sans-serif;

  --container:  1170px;
  --header-h:   98px;
}

/* ---------- 2. BASE ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  background:var(--white);
  color:var(--text);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5{ font-family:var(--font-head); color:var(--heading); font-weight:500; line-height:1.15; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; }
section[id]{ scroll-margin-top:80px; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ---------- 3. SHARED ---------- */
.container{ max-width:var(--container); margin:0 auto; padding:0 15px; position:relative; z-index:2; }

/* thin vertical guide lines running down the whole page */
.guide-lines{
  position:fixed; top:0; bottom:0; left:70px; right:70px;
  border-left:1px solid var(--line); border-right:1px solid var(--line);
  pointer-events:none; z-index:0;
}

.section-padding{ padding:120px 0; }
.section-line{ border-top:1px solid var(--line); position:relative; overflow:hidden; }

/* boxed label with a corner offset, e.g.  [About Me] */
.section-label{
  display:inline-block; position:relative; font-family:var(--font-body); font-size:18px;
  color:var(--accent); padding:6px 10px 3px 18px; margin-bottom:18px; z-index:1;
}
.section-label::before{
  content:""; position:absolute; left:0; top:0; width:28px; height:100%;
  border:1px solid var(--accent); border-right:0; z-index:-1;
}

.section-title{ text-align:center; margin-bottom:60px; position:relative; z-index:2; }
.section-title h2{ font-size:clamp(34px, 4.4vw, 55px); }

/* huge faded word behind a section */
.bg-word{
  position:absolute; z-index:0; pointer-events:none; user-select:none;
  font-family:var(--font-head); font-weight:600; color:var(--ghost);
  font-size:clamp(90px, 16vw, 230px); line-height:1; text-transform:uppercase; white-space:nowrap;
}
.bg-word.rotate{ top:50%; left:50%; transform:translate(-50%,-50%) rotate(-45deg); }

.theme-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  background:var(--dark); color:var(--white); font-family:var(--font-head); font-weight:500;
  font-size:16px; padding:15px 44px; border:1px solid var(--dark); cursor:pointer;
  transition:background .3s ease, color .3s ease, border-color .3s ease;
}
.theme-btn:hover{ background:var(--accent); border-color:var(--accent); }
.theme-btn.outline{ background:transparent; color:var(--dark); }
.theme-btn.outline:hover{ background:var(--dark); color:var(--white); border-color:var(--dark); }

/* ---------- 4. HEADER / NAV ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100; height:var(--header-h);
  background:var(--white); border-bottom:1px solid #EBEBEB; transition:box-shadow .3s ease;
}
.site-header.scrolled{ box-shadow:0 6px 30px rgba(0,0,0,.05); }
.header-inner{ position:relative; height:100%; display:flex; align-items:center; justify-content:space-between; padding:0 41px; }
.logo{ display:flex; align-items:center; gap:12px; font-family:var(--font-head); font-weight:600; font-size:20px; color:var(--heading); }
.logo-mark{
  width:28px; height:28px; border-radius:50%; background:var(--dark); color:var(--white);
  display:flex; align-items:center; justify-content:center; font-size:15px; font-weight:700; line-height:1;
}
.site-header .logo{ opacity:0; transition:opacity .3s ease; }
.site-header.scrolled .logo{ opacity:1; }
.logo-text{ display:none; }

.main-nav{ position:absolute; left:50%; top:0; transform:translateX(-50%); display:flex; height:100%; }
.main-nav a{
  position:relative; display:flex; align-items:center; height:100%; padding:0 16px;
  font-family:var(--font-head); font-weight:500; font-size:18px; color:var(--heading);
  transition:color .2s ease;
}
.main-nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:3px;
  background:var(--accent); transform:scaleX(0); transition:transform .3s ease;
}
.main-nav a:hover{ color:var(--accent); }
.main-nav a.active::after, .main-nav a:hover::after{ transform:scaleX(1); }

.header-icon{ width:20px; height:20px; color:var(--text); display:flex; align-items:center; justify-content:center; transition:color .2s ease; }
.header-icon:hover{ color:var(--accent); }
.header-icon svg{ width:15px; height:15px; }

.nav-toggle{ display:none; background:none; border:0; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--heading); margin:5px 0; transition:transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media (max-width:991px){
  :root{ --header-h:76px; }
  .header-inner{ padding:0 20px; }
  .site-header .logo{ opacity:1; }
  .header-icon{ display:none; }
  .nav-toggle{ display:block; }
  .main-nav{
    position:fixed; top:76px; left:0; right:0; transform:none; height:auto; flex-direction:column;
    background:var(--white); border-top:1px solid var(--line); box-shadow:0 20px 30px rgba(0,0,0,.06);
    max-height:0; overflow:hidden; transition:max-height .35s ease;
  }
  .main-nav.open{ max-height:420px; }
  .main-nav a{ height:auto; padding:14px 24px; border-bottom:1px solid var(--line); }
  .main-nav a::after{ display:none; }
}

/* ---------- 5. HERO ---------- */
.hero{
  position:relative; margin-top:var(--header-h); height:850px;
  border-bottom:1px solid #EBEBEB; overflow:hidden;
}
.hero-container{ position:relative; max-width:1320px; height:100%; margin:0 auto; padding:0 12px; z-index:2; }
.hero .bg-word{
  top:50px; left:50%; transform:translateX(-50%);
  font-size:250px; line-height:200px; letter-spacing:5px;
}
.hero-text{ position:relative; padding-top:276px; max-width:748px; z-index:2; }
.hero h1{ font-size:100px; font-weight:800; line-height:115px; color:var(--heading); letter-spacing:0; }
.hero-name{
  position:relative; display:inline-block; margin-top:30px; padding-right:120px;
  font-family:var(--font-body); font-size:20px; line-height:30px; letter-spacing:5px;
  text-transform:uppercase; color:var(--text);
}
.hero-name::after{ content:""; position:absolute; right:0; top:13px; width:100px; height:1px; background:#202020; }
.hero-btns{ margin-top:45px; }
.hero .theme-btn{ font-family:var(--font-body); font-weight:600; font-size:16px; line-height:24px; padding:15px 44px; background:#19181D; border-color:#19181D; }
.hero .theme-btn:hover{ background:var(--accent); border-color:var(--accent); }

/* cut-out portrait on the right — use a transparent PNG */
.hero-image{ position:absolute; top:175px; right:54px; width:350px; height:500px; z-index:1; }
.hero-image img{ width:100%; height:100%; object-fit:contain; object-position:bottom; }

/* vertical social links, inside the hero on the left */
.hero-social{ position:absolute; left:23px; top:317px; width:24px; z-index:5; }
.hero-social{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.hero-social a{
  writing-mode:vertical-rl; transform:rotate(180deg);
  font-family:var(--font-body); font-size:16px; line-height:24px; color:var(--heading); transition:color .2s ease;
}
.hero-social a:hover{ color:var(--accent); }
.hero-social i{ display:block; width:1px; height:30px; background:var(--accent); }

@media (max-width:1399px){
  .hero-container{ max-width:1140px; }
  .hero .bg-word{ font-size:220px; }
  .hero h1{ font-size:90px; line-height:105px; }
  .hero-image{ right:30px; width:320px; height:460px; }
}
@media (max-width:1199px){
  .hero-container{ max-width:960px; }
  .hero .bg-word{ font-size:180px; line-height:170px; }
  .hero h1{ font-size:76px; line-height:90px; }
  .hero-image{ right:10px; width:280px; height:400px; top:200px; }
  .hero-social{ display:none; }
}
@media (max-width:991px){
  .hero{ height:auto; padding-bottom:80px; }
  .hero-container{ max-width:720px; }
  .hero .bg-word{ font-size:120px; line-height:120px; top:40px; }
  .hero-text{ padding-top:150px; }
  .hero h1{ font-size:62px; line-height:74px; }
  .hero-image{ position:relative; top:auto; right:auto; margin:50px auto 0; width:280px; height:400px; }
}
@media (max-width:575px){
  .hero .bg-word{ font-size:72px; line-height:80px; }
  .hero-text{ padding-top:110px; }
  .hero h1{ font-size:44px; line-height:54px; }
  .hero-name{ font-size:16px; letter-spacing:4px; padding-right:70px; }
  .hero-name::after{ width:55px; top:11px; }
  .hero-btns{ margin-top:34px; }
}

/* ---------- 6. ABOUT ---------- */
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; position:relative; z-index:2; }
.about-image{ position:relative; width:100%; max-width:360px; margin:0 auto; }
.about-image .photo{
  aspect-ratio:4/5; background:linear-gradient(200deg, #FDE6D8 0%, var(--grey-card) 60%); position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.about-image .photo img{ width:100%; height:100%; object-fit:cover; }
.about-image .photo span{ font-family:var(--font-head); font-size:13px; letter-spacing:.14em; text-transform:uppercase; color:var(--text); }
.about-image .photo:has(img) span{ display:none; }
.exp-badge{
  position:absolute; right:-60px; bottom:-40px; width:210px; padding:30px 20px 26px; text-align:center;
  background:var(--dark); color:var(--white); border-radius:6px; box-shadow:0 20px 40px rgba(0,0,0,.18);
}
.exp-badge b{ display:block; font-family:var(--font-head); font-size:84px; font-weight:600; line-height:1; }
.exp-badge span{ font-family:var(--font-head); font-size:17px; font-weight:500; }
.about-text h2{ font-size:clamp(32px, 3.6vw, 50px); margin-bottom:18px; }
.about-text h4{ font-size:24px; color:var(--text); font-weight:500; margin-bottom:18px; line-height:1.35; }
.about-text p{ margin-bottom:34px; }
.counters{ display:flex; gap:50px; flex-wrap:wrap; margin-bottom:40px; }
.counter b{ display:block; font-family:var(--font-head); font-size:clamp(40px,4.4vw,56px); font-weight:500; color:var(--accent); line-height:1; margin-bottom:8px; }
.counter span{ font-family:var(--font-head); font-size:16px; color:var(--ink); }
@media (max-width:991px){
  .about-grid{ grid-template-columns:1fr; gap:90px; }
  .exp-badge{ right:-20px; }
}
@media (max-width:480px){ .exp-badge{ right:0; width:170px; } .exp-badge b{ font-size:64px; } .counters{ gap:30px; } }

/* ---------- 7. SERVICES ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(4,1fr); background:var(--grey-card); position:relative; z-index:2; }
.service-card{ padding:70px 30px 60px; border-right:1px solid #E4E4E4; transition:background .35s ease, box-shadow .35s ease; position:relative; }
.service-card:last-child{ border-right:0; }
.service-card:hover{ background:var(--white); box-shadow:0 25px 60px rgba(0,0,0,.07); z-index:2; }
.service-icon{ position:relative; width:60px; height:50px; margin-bottom:26px; }
.service-icon::before{ content:""; position:absolute; left:16px; top:4px; width:42px; height:42px; border-radius:50%; background:#E9E9E9; }
.service-icon svg{ position:relative; width:42px; height:42px; color:var(--accent); }
.service-card h3{ font-size:24px; margin-bottom:16px; }
.service-card p{ font-size:15px; margin-bottom:34px; }
.service-card .arrow{
  width:36px; height:36px; display:flex; align-items:center; justify-content:center;
  background:#BDBDBD; color:var(--white); transition:background .3s ease;
}
.service-card:hover .arrow{ background:var(--accent); }
.service-card .arrow svg{ width:16px; height:16px; }
@media (max-width:991px){
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .service-card:nth-child(2){ border-right:0; }
  .service-card:nth-child(-n+2){ border-bottom:1px solid #E4E4E4; }
}
@media (max-width:575px){
  .services-grid{ grid-template-columns:1fr; }
  .service-card{ border-right:0; border-bottom:1px solid #E4E4E4; }
}

/* ---------- 8. MARQUEE BAND ---------- */
.marquee{ background:var(--grey-bg); padding:26px 0; overflow:hidden; position:relative; z-index:2; margin-top:90px; }
.marquee-track{ display:flex; width:max-content; animation:marquee 30s linear infinite; }
.marquee-track span{ font-family:var(--font-head); font-size:clamp(26px,3vw,40px); font-weight:500; color:var(--heading); white-space:nowrap; padding-right:14px; }
.marquee-track span em{ font-style:normal; color:var(--accent); }
.marquee:hover .marquee-track{ animation-play-state:paused; }
@keyframes marquee{ to{ transform:translateX(-50%); } }

/* ---------- 9. MOST RECENT WORKS (sticky stack — kept from original) ---------- */
.featured{ padding:110px 0 40px; }
.featured .container{ margin-bottom:8px; }
.featured-eyebrow{
  font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--text); display:flex; align-items:center; gap:10px; margin-bottom:16px;
}
.featured-eyebrow::before{ content:""; width:16px; height:1px; background:var(--orange); }
.featured h2{ font-weight:600; font-size:clamp(28px,3.4vw,42px); color:var(--ink); }
.stack-wrap{ max-width:980px; margin:48px auto 0; padding:0 24px 60px; position:relative; z-index:2; }
.stack-item{
  position:sticky; border-radius:20px; overflow:hidden; aspect-ratio:16/9; margin-bottom:28px;
  box-shadow:0 24px 50px rgba(16,33,61,.22); cursor:pointer; background:var(--ink);
  transform-origin:top center; transition:transform .1s linear, filter .1s linear;
}
.stack-item .thumb{ width:100%; height:100%; position:absolute; inset:0; }
.stack-item .thumb img{ width:100%; height:100%; object-fit:cover; position:relative; z-index:1; }
.stack-item .thumb::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(16,33,61,0) 30%, rgba(16,33,61,.75) 75%, rgba(16,33,61,.94) 100%);
  z-index:2;
}
.stack-index{
  position:absolute; top:20px; right:20px; z-index:3; font-size:12px; letter-spacing:.06em;
  color:#fff; background:rgba(255,255,255,.16); backdrop-filter:blur(4px); padding:6px 12px 4px; border-radius:999px;
}
.stack-caption{ position:absolute; left:0; right:0; bottom:0; z-index:3; padding:32px 36px; color:#fff; }
.stack-caption .stack-cat{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--orange); display:block; margin-bottom:8px; }
.stack-caption h3{ font-weight:600; font-size:clamp(20px,2.4vw,28px); margin-bottom:8px; color:#fff; }
.stack-caption p{ font-size:15px; color:rgba(255,255,255,.8); max-width:60ch; }
.stack-caption .spec{ margin-top:14px; font-size:12px; color:rgba(255,255,255,.7); text-transform:uppercase; letter-spacing:.04em; display:flex; gap:20px; }
@media (max-width:640px){ .stack-caption{ padding:22px; } .stack-caption p{ display:none; } }

/* shared placeholder art for projects without an image yet */
.thumb{
  background:linear-gradient(135deg, rgba(232,97,28,.55), rgba(16,33,61,.85)), var(--ink);
  display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
}
.thumb:not(:has(img))::after{
  content:"Replace with project image"; position:relative; z-index:3; font-size:12px; letter-spacing:.08em;
  text-transform:uppercase; color:rgba(255,255,255,.8); text-align:center; padding:0 20px;
}

/* ---------- 10. PORTFOLIO ---------- */
.project-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; position:relative; z-index:2; }
.project-card{ background:var(--white); box-shadow:0 10px 40px rgba(0,0,0,.06); cursor:pointer; transition:transform .35s ease, box-shadow .35s ease; }
.project-card:hover{ transform:translateY(-8px); box-shadow:0 25px 60px rgba(0,0,0,.1); }
.project-card .thumb{ aspect-ratio:4/3; }
.project-card .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .6s cubic-bezier(.16,1,.3,1); }
.project-card:hover .thumb img{ transform:scale(1.06); }
.project-info{ padding:26px 28px 30px; }
.project-info .cat{ font-size:15px; color:var(--accent); display:block; margin-bottom:8px; }
.project-info h3{ font-size:22px; transition:color .2s ease; }
.project-card:hover h3{ color:var(--accent); }
.project-info p{ font-size:14px; margin-top:8px; }
.project-info .spec{ display:none; }
.section-btn{ text-align:center; margin-top:60px; position:relative; z-index:2; }
.filter-row{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:-20px 0 50px; position:relative; z-index:2; }
.filter{ font:inherit; font-size:14px; padding:9px 20px; border:1px solid var(--line); border-radius:999px; background:var(--white); color:var(--text); cursor:pointer; transition:all .25s ease; }
.filter:hover{ border-color:var(--accent); color:var(--accent); }
.filter.active{ background:var(--accent); border-color:var(--accent); color:var(--white); }
.project-card.is-hidden{ display:none; }
@media (max-width:991px){ .project-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:575px){ .project-grid{ grid-template-columns:1fr; } }

/* ---------- 11. TESTIMONIALS ---------- */
.testi-slider{ position:relative; z-index:2; overflow:hidden; }
.testi-track{
  display:flex; gap:30px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  padding-bottom:10px; scrollbar-width:none;
}
.testi-track::-webkit-scrollbar{ display:none; }
.testi-card{
  flex:0 0 calc((100% - 60px) / 3); scroll-snap-align:start; background:var(--grey-card); padding:36px 32px 30px;
}
.testi-card p{ font-style:italic; font-size:17px; color:var(--heading); margin-bottom:28px; line-height:1.7; }
.testi-foot{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.testi-name{ display:flex; align-items:center; gap:12px; font-family:var(--font-head); font-size:15px; letter-spacing:.06em; text-transform:uppercase; color:var(--text); }
.testi-name::before{ content:""; width:24px; height:1px; background:var(--text); }
.testi-name small{ display:block; text-transform:none; letter-spacing:0; font-size:13px; color:var(--accent); }
.testi-quote{ font-family:Georgia, serif; font-size:64px; line-height:.6; color:var(--text); opacity:.6; padding-top:20px; }
.testi-dots{ display:flex; justify-content:center; gap:10px; margin-top:40px; }
.testi-dots button{ width:10px; height:10px; border-radius:50%; border:0; background:#D6D6D6; cursor:pointer; transition:all .3s ease; }
.testi-dots button.active{ background:var(--accent); width:28px; border-radius:6px; }
@media (max-width:991px){ .testi-card{ flex-basis:calc((100% - 30px) / 2); } }
@media (max-width:640px){ .testi-card{ flex-basis:100%; } }

/* ---------- 12. BLOG / INSIGHTS ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; position:relative; z-index:2; }
.blog-card{ background:var(--white); box-shadow:0 10px 40px rgba(0,0,0,.06); transition:transform .35s ease; }
.blog-card:hover{ transform:translateY(-6px); }
.blog-img{ aspect-ratio:16/11; position:relative; overflow:hidden; }
.blog-img .art{ position:absolute; inset:0; transition:transform .6s ease; }
.blog-card:hover .blog-img .art{ transform:scale(1.06); }
.blog-img .tag{ position:absolute; left:20px; bottom:20px; z-index:2; background:var(--accent); color:var(--white); font-size:14px; padding:6px 14px 3px; }
.art-1{ background:radial-gradient(circle at 70% 30%, #FFB37D 0 18%, transparent 19%), linear-gradient(135deg, #10213D, #2C4A7C); }
.art-2{ background:linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%), linear-gradient(135deg, #E5540A, #F7A06E); }
.art-3{ background:repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 8px, transparent 8px 22px), linear-gradient(135deg, #323232, #687693); }
.blog-body{ padding:26px 28px 32px; }
.blog-meta{ display:flex; gap:18px; font-size:14px; margin-bottom:12px; flex-wrap:wrap; }
.blog-meta span{ display:flex; align-items:center; gap:6px; }
.blog-meta svg{ width:14px; height:14px; color:var(--accent); }
.blog-body h3{ font-size:22px; margin-bottom:12px; transition:color .2s ease; }
.blog-card:hover h3{ color:var(--accent); }
.blog-body p{ font-size:15px; margin-bottom:20px; }
.read-more{ font-family:var(--font-head); font-weight:500; color:var(--heading); display:inline-flex; align-items:center; gap:8px; transition:gap .2s ease, color .2s ease; }
.read-more:hover{ color:var(--accent); gap:14px; }
@media (max-width:991px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .blog-grid{ grid-template-columns:1fr; } }

/* ---------- 13. PRICING ---------- */
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; position:relative; z-index:2; }
.price-card{ background:var(--grey-card); text-align:center; padding:0 30px 50px; position:relative; display:flex; flex-direction:column; align-items:center; transition:background .35s ease, box-shadow .35s ease; }
.price-card:hover, .price-card.featured-plan{ background:var(--white); box-shadow:0 25px 60px rgba(0,0,0,.08); }
.plan-name{
  display:inline-block; background:var(--dark); color:var(--white); font-family:var(--font-head); font-size:15px;
  text-transform:uppercase; letter-spacing:.04em; padding:8px 26px 6px; border-radius:0 0 6px 6px; margin-bottom:34px;
}
.price-card.featured-plan .plan-name{ background:var(--accent); }
.price{ font-family:var(--font-head); color:var(--heading); margin-bottom:14px; }
.price b{ font-size:44px; font-weight:600; }
.price small{ font-size:15px; text-transform:uppercase; color:var(--heading); }
.price-card > p{ font-size:16px; max-width:240px; margin:0 auto 40px; }
.price-card ul{ margin-bottom:44px; }
.price-card li{ font-size:16px; padding:8px 0; }
.price-card .theme-btn{ margin-top:auto; }
.price-card li.off{ text-decoration:line-through; opacity:.55; }
@media (max-width:991px){ .pricing-grid{ grid-template-columns:1fr; max-width:460px; margin:0 auto; } }

/* ---------- 14. CONTACT ---------- */
.contact-box{ background:var(--grey-card); padding:90px 15%; position:relative; z-index:2; }
.contact-box .section-title{ margin-bottom:50px; }
.contact-form{ display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.contact-form .full{ grid-column:1 / -1; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%; font-family:var(--font-body); font-size:16px; color:var(--heading);
  background:transparent; border:1px solid #D8D8D8; padding:16px 18px 13px; border-radius:0;
  transition:border-color .2s ease;
}
.contact-form textarea{ min-height:150px; resize:vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{ outline:none; border-color:var(--accent); }
.contact-form ::placeholder{ color:var(--text); }
.form-foot{ grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap; margin-top:10px; }
.contact-info{ display:flex; gap:30px; flex-wrap:wrap; }
.contact-info a{ display:flex; align-items:center; gap:10px; font-size:16px; transition:color .2s ease; }
.contact-info a:hover{ color:var(--accent); }
.contact-info i{
  width:32px; height:32px; border-radius:50%; background:var(--accent-soft); color:var(--accent);
  display:flex; align-items:center; justify-content:center;
}
.contact-info svg{ width:15px; height:15px; }
.form-note{ grid-column:1 / -1; font-size:15px; color:var(--accent); min-height:1em; }
@media (max-width:767px){ .contact-box{ padding:60px 24px; } .contact-form{ grid-template-columns:1fr; } }

/* ---------- 15. FOOTER ---------- */
.site-footer{ background:var(--grey-bg); padding:80px 0 70px; text-align:center; position:relative; z-index:2; }
.site-footer .logo{ justify-content:center; margin-bottom:24px; }
.site-footer .logo-text{ opacity:1; transform:none; }
.footer-social{ display:flex; justify-content:center; gap:12px; margin-bottom:24px; }
.footer-social a{
  width:40px; height:40px; border-radius:50%; border:1px solid #DADADA; color:var(--text);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-head); font-size:14px; font-weight:600;
  transition:all .25s ease;
}
.footer-social a:hover{ background:var(--accent); border-color:var(--accent); color:var(--white); }
.footer-social svg{ width:16px; height:16px; }
.site-footer p{ font-size:16px; }

/* ---------- 16. PROJECT MODAL ---------- */
.modal-overlay{ position:fixed; inset:0; z-index:300; background:rgba(16,33,61,.55); backdrop-filter:blur(6px); display:flex; align-items:center; justify-content:center; padding:32px; opacity:0; pointer-events:none; transition:opacity .35s ease; }
.modal-overlay.open{ opacity:1; pointer-events:auto; }
.modal-panel{ position:relative; background:#fff; border-radius:18px; max-width:920px; width:100%; max-height:88vh; overflow-y:auto; transform:scale(.94) translateY(16px); opacity:0; transition:transform .4s cubic-bezier(.16,1,.3,1), opacity .35s ease; box-shadow:0 40px 80px rgba(16,33,61,.35); }
.modal-overlay.open .modal-panel{ transform:none; opacity:1; }
.modal-close{ position:absolute; top:20px; right:20px; z-index:5; width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.9); border:1px solid var(--line); display:flex; align-items:center; justify-content:center; cursor:pointer; font-size:18px; color:var(--heading); transition:background .2s ease, transform .2s ease; }
.modal-close:hover{ background:var(--accent); color:#fff; transform:rotate(90deg); }
.modal-image{ width:100%; aspect-ratio:16/10; overflow:hidden; background:var(--ink); }
.modal-image img{ width:100%; height:100%; object-fit:cover; }
.modal-image .thumb{ width:100%; height:100%; }
.modal-body{ padding:40px 44px 48px; }
.modal-cat{ font-size:13px; letter-spacing:.1em; text-transform:uppercase; color:var(--accent); margin-bottom:10px; display:block; }
.modal-body h2{ font-weight:600; font-size:clamp(24px,3vw,34px); margin-bottom:16px; }
.modal-meta{ display:flex; gap:28px; flex-wrap:wrap; margin:20px 0 28px; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.modal-meta div{ display:flex; flex-direction:column; gap:4px; }
.modal-meta span:first-child{ font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--text); }
.modal-meta span:last-child{ font-size:16px; font-weight:600; color:var(--heading); }
.modal-summary{ font-size:17px; color:var(--heading); margin-bottom:16px; }
.modal-details{ font-size:16px; }
body.modal-open{ overflow:hidden; }
@media (max-width:640px){ .modal-overlay{ padding:16px; } .modal-body{ padding:28px 24px 36px; } }

/* ---------- 17. SCROLL-TO-TOP + REVEAL ---------- */
.to-top{
  position:fixed; right:28px; bottom:28px; z-index:90; width:44px; height:44px; border-radius:50%;
  background:var(--dark); color:var(--white); border:0; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .3s ease;
}
.to-top:hover{ background:var(--accent); }
.to-top svg{ width:18px; height:18px; }

.reveal{ opacity:0; transform:translateY(30px); transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.in{ opacity:1; transform:none; }

@media (max-width:767px){
  .section-padding{ padding:80px 0; }
  .guide-lines{ display:none; }
  .to-top{ right:16px; bottom:16px; }
}
