/* Theme: Robin's Fibers — warm modern, TL Yarn Crafts-inspired */
:root{
  --bg:#faf7f2;
  --surface:#ffffff;
  --text:#2b2b2b;
  --muted:#6b6b6b;
  --accent:#c96f5b; /* terracotta */
  --accent-2:#8b4f3d; /* deeper clay */
  --shadow:0 8px 24px rgba(0,0,0,0.08);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.6;
}
img{max-width:100%; display:block}
.container{max-width:1100px; margin:0 auto; padding:0 20px}

/* Header */
.header{position:sticky; top:0; z-index:50; background:rgba(250,247,242,0.9); backdrop-filter:saturate(180%) blur(10px); border-bottom:1px solid #e8e3dc}
.nav{display:flex; align-items:center; justify-content:space-between; min-height:66px}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.brand .logo{width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent-2))}
.brand .name{font-weight:800; letter-spacing:0.2px}
nav ul{list-style:none; display:flex; gap:18px; padding:0; margin:0}
nav a{color:var(--text); text-decoration:none; padding:8px 10px; border-radius:8px}
nav a:hover{background:#efe9e3}
nav a.active{color:#fff; background:var(--accent)}

/* Hero */
.hero{display:grid; grid-template-columns:1.15fr 0.85fr; gap:24px; align-items:center; padding:48px 0}
.hero h1{font-size:42px; line-height:1.15; margin:0 0 14px}
.hero p{color:var(--muted); margin:0 0 24px}
.hero .actions{display:flex; gap:12px}
.btn{display:inline-block; padding:12px 16px; border-radius:10px; text-decoration:none; font-weight:600; transition:transform .2s ease, box-shadow .2s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--accent); color:#fff; box-shadow:var(--shadow)}
.btn-ghost{background:transparent; color:var(--accent); border:1px solid #e1d8cf}
.hero img{border-radius:16px; box-shadow:var(--shadow)}

/* Sections */
.section{padding:36px 0}
.eyebrow{color:var(--accent); font-weight:700; letter-spacing:.2px; text-transform:uppercase; font-size:13px; margin-bottom:12px}
.page-header{padding:30px 0 10px}
.page-title{font-size:34px; margin:0 0 8px}
.page-subtitle{color:var(--muted); margin:0}

/* Banner header */
.banner{position:relative; border-radius:16px; overflow:hidden; box-shadow:var(--shadow); margin:24px 0}
.banner img{width:100%; height:300px; object-fit:cover; display:block}
.banner .content{position:absolute; inset:0; display:flex; align-items:flex-end; background:linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 100%); color:#fff}
.banner .inner{padding:16px 18px}
.banner .title{font-size:32px; margin:0}
.banner .subtitle{margin:6px 0 0; color:#f1ebe5}

/* Grids */
.cards{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.card{background:var(--surface); border-radius:14px; overflow:hidden; box-shadow:var(--shadow)}
.card-content{padding:14px}
.card h3{margin:0 0 6px}
.features{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.feature{background:var(--surface); border-radius:14px; padding:18px; box-shadow:var(--shadow)}
.services-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.service{background:var(--surface); border-radius:14px; overflow:hidden; box-shadow:var(--shadow)}
.service .price{padding:12px 14px; color:var(--accent-2); font-weight:700}
.gallery-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.gallery-item{background:var(--surface); border-radius:14px; overflow:hidden; box-shadow:var(--shadow)}
.gallery-item img{width:100%; display:block; height:240px; object-fit:cover; transition:transform .25s ease}
.gallery-item img:hover{transform:scale(1.03)}
.gallery-item .caption{padding:12px; color:var(--muted)}
/* Filters */
.filters{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px}
.filter-btn{padding:8px 12px; border:1px solid #e1d8cf; background:#fff; color:var(--text); border-radius:10px; cursor:pointer}
.filter-btn:hover{background:#efe9e3}
.filter-btn.active{background:var(--accent); color:#fff; border-color:var(--accent)}
.filter-btn:focus{outline:2px solid var(--accent); outline-offset:2px}
.process{display:grid; grid-template-columns:repeat(4,1fr); gap:12px}
.step{background:var(--surface); border-radius:12px; padding:14px; box-shadow:var(--shadow); display:flex; flex-direction:column; gap:4px}
.stats{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.stat{background:var(--surface); border-radius:12px; padding:16px; text-align:center; box-shadow:var(--shadow)}
.stat .number{font-size:28px; font-weight:800; color:var(--accent)}
.stat .label{color:var(--muted)}

/* About layout */
.about{display:grid; grid-template-columns:1fr 1fr; gap:22px; align-items:center}
.about-text{background:var(--surface); padding:16px; border-radius:14px; box-shadow:var(--shadow)}
.about-media img{border-radius:14px; box-shadow:var(--shadow)}

/* Contact */
.contact-form{background:var(--surface); padding:18px; border-radius:14px; box-shadow:var(--shadow)}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.field{display:flex; flex-direction:column; gap:6px}
.field input,.field textarea{padding:12px; border:1px solid #e1d8cf; border-radius:10px; font:inherit}
.field input:focus,.field textarea:focus{outline:none; border-color:var(--accent)}
.span-2{grid-column:span 2}
.form-actions{display:flex; align-items:center; gap:12px; margin-top:12px}
#form-status{color:var(--muted)}

/* Footer */
.footer{border-top:1px solid #e8e3dc; margin-top:40px}
.footer .container{display:flex; align-items:center; justify-content:space-between; padding:18px 20px}
.footer .links{display:flex; gap:16px}
.footer a{color:var(--muted)}

/* Reveal animation */
.reveal{opacity:0; transform:translateY(12px); transition:opacity .5s ease, transform .5s ease}
.reveal-visible{opacity:1; transform:none}

/* Lightbox */
.lightbox{position:fixed; inset:0; background:rgba(0,0,0,0.75); display:none; align-items:center; justify-content:center; z-index:100}
.lightbox.open{display:flex}
.lightbox-content{position:relative; max-width:85vw; max-height:85vh}
.lightbox-img{max-width:100%; max-height:85vh; border-radius:10px; box-shadow:var(--shadow)}
.lightbox-close{position:absolute; top:10px; right:10px; background:rgba(0,0,0,0.6); color:#fff; border:none; border-radius:8px; padding:8px 10px; cursor:pointer}

/* Responsive */
@media (max-width:980px){
  .hero{grid-template-columns:1fr;}
  .cards,.features,.services-grid,.process,.stats,.about{grid-template-columns:1fr}
  .span-2{grid-column:span 1}
}
