/* ===== RESET & BASE ===== */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg:        #f9dbd7;
  --bg-light:  #fdf0ee;
  --bg-dark:   #efc8c2;
  --text:      #111111;
  --text-muted:#666;
  --yellow:    #f5c000;
  --white:     #ffffff;
  --border:    rgba(0,0,0,.18);
  --font:      'DM Sans', 'Segoe UI', sans-serif;
  --radius:    6px;
  --shadow:    0 4px 24px rgba(0,0,0,.09);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
  --ease:      cubic-bezier(.4,0,.2,1);
  --dur:       .28s;
}

html { scroll-behavior: smooth; }
body  { background:var(--bg); color:var(--text); font-family:var(--font); font-size:16px; line-height:1.7; }
a     { text-decoration:none; color:inherit; }
img   { max-width:100%; display:block; }

/* ===== HEADER ===== */
.header {
  position:sticky; top:0; z-index:200;
  background:rgba(249,219,215,.9);
  backdrop-filter:blur(12px);
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 48px;
  border-bottom:1px solid rgba(0,0,0,.07);
  transition:box-shadow var(--dur) var(--ease);
}
.header.scrolled { box-shadow:0 2px 20px rgba(0,0,0,.1); }

.logo { display:flex; align-items:center; gap:14px; }
.logo-circle {
  width:50px; height:50px; border-radius:50%;
  background:var(--yellow);
  display:flex; align-items:center; justify-content:center;
  font-size:20px; font-weight:800; color:var(--white);
  flex-shrink:0;
}
.logo-info .logo-name { display:block; font-size:17px; font-weight:700; }
.logo-info .logo-sub  { display:block; font-size:11px; color:var(--text-muted); line-height:1.4; margin-top:2px; }

.nav { display:flex; align-items:center; gap:32px; }
.nav-link { font-size:14px; font-weight:600; position:relative; transition:opacity var(--dur); }
.nav-link::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:2px; background:var(--text);
  transition:width var(--dur) var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { width:100%; }
.nav-link:hover { opacity:.65; }

.menu-toggle {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:4px;
}
.menu-toggle span {
  display:block; width:24px; height:2px;
  background:var(--text); border-radius:2px;
  transition:var(--dur) var(--ease);
}
.menu-toggle.active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity:0; }
.menu-toggle.active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display:inline-flex; align-items:center; gap:6px;
  padding:11px 26px;
  border:1.5px solid var(--text);
  border-radius:var(--radius);
  font-family:var(--font); font-size:14px; font-weight:700;
  cursor:pointer; background:transparent; color:var(--text);
  transition:background var(--dur) var(--ease), color var(--dur) var(--ease), transform .15s;
}
.btn:hover        { background:var(--text); color:var(--white); transform:translateY(-2px); }
.btn:active       { transform:translateY(0); }
.btn-filled       { background:var(--text); color:var(--white); }
.btn-filled:hover { background:#333; }
.btn-white        { border-color:var(--white); color:var(--white); }
.btn-white:hover  { background:var(--white); color:var(--text); }

.cta-buttons { display:flex; flex-wrap:wrap; gap:12px; margin-top:32px; }

/* ===== TYPOGRAPHY ===== */
.section-title   { font-size:clamp(28px,4vw,44px); font-weight:800; letter-spacing:-.6px; line-height:1.15; }
.section-subtitle{ font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; color:var(--text-muted); margin-bottom:10px; }
.tag {
  display:inline-block; padding:4px 12px;
  background:var(--bg-light); border:1px solid var(--border);
  border-radius:20px; font-size:11px; font-weight:700;
  margin-top:10px; margin-right:4px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height:92vh;
  display:grid; grid-template-columns:1fr 1fr;
  align-items:center;
  overflow:hidden;
}

.hero-content {
  padding:80px 64px;
  display:flex; flex-direction:column; justify-content:center;
}

.hero-eyebrow {
  display:flex; align-items:center; gap:10px;
  font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase;
  color:var(--text-muted); margin-bottom:20px;
}
.hero-eyebrow::before {
  content:''; display:block;
  width:32px; height:2px; background:var(--text-muted);
}

.hero-name {
  font-size:clamp(42px,6vw,76px);
  font-weight:800; letter-spacing:-2px; line-height:1.05;
  margin-bottom:8px;
}

.hero-title {
  font-size:clamp(14px,2vw,18px);
  font-weight:400; color:var(--text-muted);
  margin-bottom:28px;
}

.hero-desc {
  font-size:15.5px; max-width:480px; line-height:1.75;
  color:#444; margin-bottom:12px;
}

.hero-photo {
  height:100%;
  min-height:92vh;
  position:relative;
  overflow:hidden;
  background:var(--bg-dark);
}
.hero-photo img {
  width:100%; height:100%;
  object-fit:cover;
  object-position:top center;
  filter:grayscale(8%);
}
.hero-photo-placeholder {
  width:100%; height:100%; min-height:92vh;
  background:var(--bg-dark);
  display:flex; flex-direction:column;
  align-items:center; justify-content:center;
  font-size:60px; gap:16px; color:var(--text-muted);
}
.hero-photo-placeholder span { font-size:14px; font-weight:600; }

/* ===== STATS ===== */
.stats-bar {
  background:var(--text);
  display:flex; justify-content:center;
  gap:0; padding:0;
}
.stat-item {
  flex:1; max-width:280px;
  text-align:center; padding:32px 20px;
  border-right:1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right:none; }
.stat-number {
  font-size:clamp(32px,5vw,52px);
  font-weight:800; color:var(--white);
  letter-spacing:-1px; line-height:1;
}
.stat-number span { color:var(--yellow); }
.stat-label { font-size:12px; color:rgba(255,255,255,.6); margin-top:6px; font-weight:600; letter-spacing:1px; text-transform:uppercase; }

/* ===== ABOUT SECTION (page about) ===== */
.about-section {
  display:grid; grid-template-columns:1fr 1fr;
  min-height:calc(100vh - 79px); align-items:center;
}
.about-photo-wrap {
  height:100%; min-height:480px; overflow:hidden;
  background:var(--bg-dark); position:relative;
}
.about-photo-wrap img { width:100%; height:100%; object-fit:cover; object-position:top; }
.about-photo-placeholder {
  width:100%; height:100%; min-height:480px;
  background:var(--bg-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:60px;
}
.about-content { padding:60px 64px; }
.about-text { color:#333; margin-bottom:16px; font-size:15.5px; text-align:justify; }

/* ===== SERVICES ===== */
.services-section { padding:96px 48px; background:var(--bg-light); }
.services-section .inner { max-width:1100px; margin:0 auto; }
.services-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:24px; margin-top:48px;
}
.service-card {
  background:var(--white); border-radius:12px;
  padding:36px 28px; box-shadow:var(--shadow);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border:1px solid rgba(0,0,0,.04);
}
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.service-icon { font-size:36px; margin-bottom:18px; }
.service-card h3 { font-size:17px; font-weight:700; margin-bottom:10px; }
.service-card p  { font-size:14px; color:var(--text-muted); line-height:1.65; }

/* ===== PORTFOLIO PREVIEW ===== */
.portfolio-section { padding:96px 48px; }
.portfolio-section .inner { max-width:1100px; margin:0 auto; }
.portfolio-header { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:48px; }
.portfolio-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:24px; }
.portfolio-card {
  border-radius:12px; overflow:hidden;
  background:var(--bg-dark); box-shadow:var(--shadow);
  transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.portfolio-card:hover { transform:translateY(-8px); box-shadow:var(--shadow-lg); }
.portfolio-card-img-placeholder {
  width:100%; height:210px;
  background:var(--bg-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:48px;
  transition:background var(--dur);
}
.portfolio-card:hover .portfolio-card-img-placeholder { background:var(--bg-dark); filter:brightness(.95); }
.portfolio-card-body { padding:22px 22px 24px; background:var(--white); }
.portfolio-card-body h3 { font-size:16px; font-weight:700; margin-bottom:6px; }
.portfolio-card-body p  { font-size:13px; color:var(--text-muted); }

/* ===== CTA / TRAVAILLONS ===== */
.cta-section {
  background:var(--text); color:var(--white);
  padding:100px 48px; text-align:center;
}
.cta-section .section-title { color:var(--white); margin-bottom:16px; }
.cta-section p { color:rgba(255,255,255,.7); max-width:520px; margin:0 auto 36px; font-size:15px; }

/* ===== PAGE HERO ===== */
.page-hero { padding:72px 48px 48px; max-width:1100px; margin:0 auto; }

/* ===== CV ===== */
.cv-layout { display:grid; grid-template-columns:280px 1fr; gap:40px; max-width:1100px; margin:0 auto; padding:0 48px 80px; }
.cv-sidebar { background:var(--bg-light); border-radius:12px; padding:36px 24px; height:fit-content; border:1px solid rgba(0,0,0,.06); }
.cv-sidebar h2 { text-align:center; font-size:18px; font-weight:700; }
.cv-sidebar .title { text-align:center; font-size:13px; color:var(--text-muted); margin-top:6px; margin-bottom:24px; }
.cv-sidebar-section { margin-top:24px; }
.cv-sidebar-section h4 { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; margin-bottom:12px; padding-bottom:6px; border-bottom:1.5px solid rgba(0,0,0,.1); }
.cv-sidebar-section p, .cv-sidebar-section a { font-size:13.5px; color:#444; display:block; margin-bottom:8px; }
.skill-bar { margin-bottom:14px; }
.skill-bar label { font-size:12.5px; display:block; margin-bottom:4px; font-weight:500; }
.skill-bar .track { height:5px; background:rgba(0,0,0,.1); border-radius:10px; overflow:hidden; }
.skill-bar .fill  { height:100%; background:var(--text); border-radius:10px; transition:width 1s var(--ease); }
.cv-block { margin-bottom:44px; }
.cv-block h3 { font-size:18px; font-weight:800; padding-bottom:10px; border-bottom:2px solid var(--text); margin-bottom:22px; }
.cv-item { margin-bottom:26px; padding-left:16px; border-left:3px solid var(--bg-dark); }
.cv-item h4 { font-size:15px; font-weight:700; }
.cv-item .period { font-size:12px; color:var(--text-muted); font-weight:600; margin:4px 0 6px; }
.cv-item p { font-size:14px; color:#444; }

/* ===== CONTACT ===== */
.contact-layout { display:grid; grid-template-columns:1fr 1fr; gap:64px; max-width:1100px; margin:0 auto; padding:0 48px 80px; align-items:start; }
.contact-info h3 { font-size:18px; font-weight:700; margin-bottom:20px; }
.contact-info-item { display:flex; align-items:center; gap:14px; margin-bottom:18px; font-size:15px; }
.contact-info-item .icon { font-size:22px; width:38px; text-align:center; }
.form-group { margin-bottom:22px; }
.form-group label { display:block; font-size:13px; font-weight:700; margin-bottom:7px; }
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; padding:13px 16px;
  border:1.5px solid rgba(0,0,0,.15);
  border-radius:var(--radius);
  background:var(--white); font-family:var(--font); font-size:14px;
  transition:border-color var(--dur); outline:none;
}
.form-group input:focus,
.form-group textarea:focus  { border-color:var(--text); }
.form-group textarea { resize:vertical; min-height:130px; }

/* ===== BLOG ===== */
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:28px; max-width:1100px; margin:0 auto; padding:0 48px 80px; }
.blog-card { background:var(--white); border-radius:12px; overflow:hidden; box-shadow:var(--shadow); transition:transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.blog-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.blog-card-img { width:100%; height:190px; background:var(--bg-dark); display:flex; align-items:center; justify-content:center; font-size:40px; }
.blog-card-body { padding:24px; }
.blog-date { font-size:12px; color:var(--text-muted); font-weight:700; letter-spacing:.5px; margin-bottom:8px; }
.blog-card-body h3 { font-size:17px; font-weight:700; margin-bottom:10px; line-height:1.4; }
.blog-card-body p  { font-size:13.5px; color:#555; line-height:1.65; }
.read-more { display:inline-block; margin-top:14px; font-size:13px; font-weight:700; text-decoration:underline; }

/* ===== PROCESSUS ===== */
.process-section { padding:80px 48px; background:var(--bg-light); }
.process-section .inner { max-width:1100px; margin:0 auto; }
.process-steps {
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:28px; margin-top:44px;
}
.process-step {
  background:var(--white); border-radius:16px; padding:32px 28px;
  box-shadow:var(--shadow);
  position:relative; overflow:hidden;
}
.process-step::before {
  content:''; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,var(--yellow),#f5a000);
}
.step-number {
  font-size:42px; font-weight:900; color:rgba(0,0,0,.06);
  line-height:1; margin-bottom:14px; letter-spacing:-2px;
}
.process-step h3 { font-size:16px; font-weight:800; margin-bottom:8px; }
.process-step p  { font-size:13.5px; color:#555; line-height:1.65; }

/* ===== TÉMOIGNAGES ===== */
.testimonials-section { padding:80px 48px; background:var(--bg); }
.testimonials-section .inner { max-width:1100px; margin:0 auto; }
.testimonials-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:28px; margin-top:44px;
}
.testimonial-card {
  background:var(--white); border-radius:16px; padding:32px;
  box-shadow:var(--shadow);
  display:flex; flex-direction:column; gap:24px;
}
.testimonial-stars { color:var(--yellow); font-size:18px; letter-spacing:2px; }
.testimonial-text { font-size:15px; color:#333; line-height:1.75; font-style:italic; flex:1; }
.testimonial-author { display:flex; align-items:center; gap:14px; padding-top:20px; border-top:1px solid var(--bg-dark); }
.testimonial-initials {
  width:44px; height:44px; border-radius:50%; background:var(--yellow);
  display:flex; align-items:center; justify-content:center;
  font-size:15px; font-weight:800; color:var(--white); flex-shrink:0;
}
.testimonial-author strong { display:block; font-size:14px; font-weight:800; }
.testimonial-author span  { font-size:12px; color:var(--text-muted); line-height:1.4; display:block; margin-top:2px; }

/* ===== SOCIAL LINKS ===== */
.social-links { display:flex; gap:14px; margin-top:28px; }
.social-link {
  width:42px; height:42px; border-radius:50%;
  background:var(--bg-dark);
  display:flex; align-items:center; justify-content:center;
  font-size:18px;
  transition:background var(--dur) var(--ease), transform .15s;
}
.social-link:hover { background:var(--text); transform:translateY(-2px); filter:brightness(0) invert(1) brightness(10); }

/* ===== FOOTER ===== */
footer { background:var(--text); color:rgba(255,255,255,.7); padding:48px; text-align:center; }
footer .footer-logo { display:flex; align-items:center; justify-content:center; gap:12px; margin-bottom:16px; }
footer .footer-name { font-size:19px; font-weight:800; color:var(--white); }
footer .footer-links { display:flex; justify-content:center; gap:28px; margin:18px 0; flex-wrap:wrap; }
footer .footer-links a { font-size:14px; color:rgba(255,255,255,.55); transition:color var(--dur); }
footer .footer-links a:hover { color:var(--white); }
footer .footer-social { display:flex; justify-content:center; gap:16px; margin:18px 0 10px; }
footer .footer-social a {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; transition:background var(--dur);
}
footer .footer-social a:hover { background:rgba(255,255,255,.2); }
@media(max-width:960px) {
  .process-steps { grid-template-columns:repeat(2,1fr); }
  .testimonials-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:600px) {
  .process-steps { grid-template-columns:1fr; }
  .testimonials-grid { grid-template-columns:1fr; }
  .process-section, .testimonials-section { padding:60px 20px; }
}
@media(max-width:480px) {
  .projects-grid, .blog-grid { grid-template-columns:1fr !important; padding-left:16px !important; padding-right:16px !important; }
  .filter-wrap { padding-left:16px; padding-right:16px; }
}
footer .footer-copy { font-size:12px; margin-top:14px; }

/* ===== PORTFOLIO FULL ===== */
.filter-bar { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:36px; }
.filter-btn {
  padding:9px 22px; border:1.5px solid rgba(0,0,0,.18);
  border-radius:30px; background:transparent;
  font-family:var(--font); font-size:13px; font-weight:700;
  cursor:pointer; transition:all var(--dur) var(--ease);
}
.filter-btn:hover, .filter-btn.active { background:var(--text); color:var(--white); border-color:var(--text); }
.portfolio-full-grid {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
  gap:28px; max-width:1100px; margin:0 auto; padding:0 48px 80px;
}

/* ===== BOUTON WHATSAPP FLOTTANT ===== */
.wa-float {
  position:fixed; bottom:24px; right:24px; z-index:500;
  width:58px; height:58px; border-radius:50%;
  background:#25d366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 20px rgba(37,211,102,.45);
  transition:transform .2s, box-shadow .2s;
}
.wa-float:hover { transform:scale(1.1); box-shadow:0 6px 28px rgba(37,211,102,.6); }
.wa-float svg { width:30px; height:30px; fill:#fff; }

/* ===== ANIMATIONS PHOTO ===== */
@keyframes photoFloat {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-18px); }
}
@keyframes photoEntry {
  from { opacity:0; transform:scale(1.06) translateX(30px); }
  to   { opacity:1; transform:scale(1) translateX(0); }
}
@keyframes heroText {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes badgePop {
  from { opacity:0; transform:scale(.7) translateY(10px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}

/* ===== HOMEPAGE SOMBRE (page-home) ===== */
.page-home .header {
  background:#0c0c0c;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.page-home .header .logo-name,
.page-home .header .nav-link { color:var(--white); }
.page-home .header .logo-sub  { color:rgba(255,255,255,.4); }
.page-home .header .menu-toggle span { background:var(--white); }
.page-home .nav { background:#111 !important; }

.page-home .hero {
  background:#0c0c0c;
  position:relative; overflow:hidden;
}
.page-home .hero::before {
  content:''; position:absolute; top:-160px; left:-100px;
  width:520px; height:520px; border-radius:50%;
  background:radial-gradient(circle,rgba(245,192,0,.13) 0%,transparent 70%);
  pointer-events:none;
}
/* Texte hero blanc */
.page-home .hero-eyebrow { color:rgba(255,255,255,.45); animation:heroText .7s .1s both; }
.page-home .hero-eyebrow::before { background:rgba(255,255,255,.25); }
.page-home .hero-name    { color:var(--white); animation:heroText .7s .25s both; }
.page-home .hero-title   { color:rgba(255,255,255,.5); animation:heroText .7s .4s both; }
.page-home .hero-desc    { color:rgba(255,255,255,.62); animation:heroText .7s .52s both; }
.page-home .cta-buttons  { animation:heroText .7s .65s both; }
.page-home .name-yellow  { color:var(--yellow); }

/* Boutons sur fond sombre */
.page-home .hero .btn { border-color:rgba(255,255,255,.3); color:var(--white); }
.page-home .hero .btn:hover { background:var(--white); color:var(--text); }
.page-home .hero .btn-filled { background:var(--yellow); border-color:var(--yellow); color:#111; }
.page-home .hero .btn-filled:hover { background:#f5a000; border-color:#f5a000; }

/* Photo — overlay + badge + animation */
.page-home .hero-photo::after {
  content:''; position:absolute;
  bottom:0; left:0; right:0; height:45%;
  background:linear-gradient(to top,#0c0c0c,transparent);
  pointer-events:none; z-index:1;
}
.page-home .hero-photo img {
  animation:photoEntry .9s .35s both, photoFloat 6s ease-in-out 1.6s infinite;
  filter:brightness(.92) contrast(1.08);
}
.hero-photo-badge {
  position:absolute; bottom:48px; left:-16px; z-index:2;
  background:var(--yellow); color:#111;
  padding:14px 18px; border-radius:12px;
  font-size:11px; font-weight:800; letter-spacing:1px; text-transform:uppercase; line-height:1.4;
  box-shadow:0 8px 28px rgba(0,0,0,.35);
  animation:badgePop .6s 1s both;
}
.hero-photo-badge span { display:block; font-size:30px; font-weight:900; letter-spacing:-2px; line-height:1; margin-bottom:2px; }

/* ===== REVEAL ON SCROLL ===== */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ===== RESPONSIVE ===== */
@media(max-width:960px){
  .hero, .about-section { grid-template-columns:1fr; }
  .hero-photo, .about-photo-wrap { min-height:55vw; max-height:460px; order:-1; }
  .hero-content, .about-content { padding:48px 32px; }
  .hero-name { letter-spacing:-1px; }
  .cv-layout { grid-template-columns:1fr; }
  .contact-layout { grid-template-columns:1fr; }
  .portfolio-header { flex-direction:column; align-items:flex-start; gap:16px; }
  .stats-bar { flex-wrap:wrap; }
  .stat-item { flex:0 0 50%; border-right:none; border-bottom:1px solid rgba(255,255,255,.1); }
  /* About inline-grid override */
  .services-section .inner { display:block !important; }
  .services-section .inner > div:last-child { display:none !important; }
  .services-section, .portfolio-section { padding:60px 28px; }
  footer { padding:40px 28px; }
  .hero-photo-badge { left:12px; bottom:20px; }
}

@media(max-width:680px){
  .header { padding:14px 20px; }
  .nav {
    display:none; flex-direction:column;
    position:fixed; top:0; right:0; height:100vh; width:260px;
    background:var(--bg); padding:90px 32px;
    gap:28px; box-shadow:-6px 0 30px rgba(0,0,0,.12); z-index:300;
  }
  .nav.open { display:flex; }
  .nav-link { font-size:18px; }
  .menu-toggle { display:flex; }
  .page-hero, .services-section, .portfolio-section, .cta-section { padding-left:20px; padding-right:20px; }
  .cv-layout, .contact-layout, .blog-grid, .portfolio-full-grid { padding-left:20px; padding-right:20px; }
  .stat-item { flex:0 0 100%; border-bottom:1px solid rgba(255,255,255,.1); }
  .hero-content { padding:36px 20px; }
  .hero-photo-badge { padding:10px 14px; bottom:14px; left:12px; }
  .hero-photo-badge span { font-size:22px; }
  .service-card { padding:28px 20px; }
  .portfolio-grid { grid-template-columns:1fr !important; gap:16px !important; }
  .cta-section p { font-size:14px; }
  footer { padding:36px 20px; }
  footer .footer-links { gap:14px; }
  .page-home .hero-photo::after { height:30%; }
}

@media(max-width:480px){
  .hero-photo { min-height:50vw !important; }
  .cta-buttons { flex-direction:column; }
  .cta-buttons .btn { width:100%; justify-content:center; text-align:center; }
  .stats-bar { flex-direction:column; }
  .stat-item { flex:unset; width:100%; padding:20px 16px; }
  .hero-photo-badge { display:none; }
  .services-grid { grid-template-columns:1fr 1fr; gap:12px; }
  .service-card { padding:22px 16px; }
  .service-icon { font-size:28px; margin-bottom:12px; }
  .section-title { letter-spacing:-.4px; }
  footer .footer-links { flex-wrap:wrap; gap:12px; justify-content:center; }
}
