* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --dark: #1f2933;
  --dark-2: #2b2f33;
  --light: #ffffff;
  --accent: #f59e0b;
  --text: #9ca3af;
}

body {
  font-family: Arial, sans-serif;
  background-color: var(--dark);
  background-image: url("/static/images/background.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text);
}

h1 {
  text-align: center;
  padding: 10px;
}

/* ── HEADER ── */
header {
  position: sticky;
  top: 0;
  background: var(--light);
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  padding: 0.75rem 2rem;
  border-bottom: 2px solid var(--accent);
}

.logo {
  height: 4em;
  flex-shrink: 0;
}

.txt-btn-grp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex: 1;
  margin-left: 2rem;
  white-space: nowrap;
  overflow: hidden;
}

.button-text {
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appointment-btn {
  background: var(--accent);
  border: none;
  color: var(--dark);
  cursor: pointer;
  border-radius: 6px;
  font-size: 1em;
  font-weight: bold;
  padding: 0.6em 1.4em;
  transition: background 0.3s, transform 0.2s;
}

.appointment-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}

/* ── BLOCKS ── */
.card,
.block,
.Contacting {
  background: var(--dark-2);
}

.card {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.block {
  margin: 5rem auto;
  padding: 3rem 2rem;
  max-width: 1500px;
  border-radius: 16px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.2em, 2vw, 2.4em);
  box-shadow: 0 0 59px 3px rgba(245,159,11,0.65);
}

.block1 {
  background-image: url('static/images/background.png');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.block1 h1 {
  padding: 0;
  margin: 0 auto;
  text-align: center;
  font-size: 1.7rem;
  line-height: 1.1;
}

.block1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(31,41,51,0.6) 0%, rgba(31,41,51,0.85) 100%);
  border-radius: 16px;
}

.block5 { padding: 4vh; }
.block6 { padding: 2vh; }

.block7 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* ── HERO ── */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  color: var(--light);
  font-size: clamp(2em, 5vw, 3.5em);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-btn {
  font-size: 1.1em;
  padding: 0.8em 2em;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
}

/* ── SHARED SECTION TITLES ── */
.section-title,
.services-title {
  text-align: center;
  color: var(--light);
  font-size: clamp(1.5em, 3vw, 2.5em);
  margin-bottom: 2rem;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1350px;
  margin: 0 auto;
}

.service-card {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(245, 159, 11, 0.4);
}

.service-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #333;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-info {
  padding: 1rem 1.4rem 1.4rem;
}

.service-info h3 {
  color: var(--accent);
  font-size: 0.95em;
  margin-bottom: 0.4rem;
}

.service-info p {
  font-size: 0.78rem;
  color: var(--text);
  line-height: 1.5;
}

/* ── WHY US ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background: var(--dark);
  border-radius: 14px;
  padding: 1.8rem 1.4rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(245, 159, 11, 0.4);
}

.why-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.8rem;
}

.why-card h3 {
  color: var(--accent);
  font-size: 1.05em;
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.5;
}

/* ── TESTIMONIALS ── */
.testimonial {
  padding-top: 2em;
  column-count: 3;
  gap: 25px;
}

.testimonial-item {
  border-left: 4px solid var(--accent);
  padding-left: 1em;
  margin-bottom: 2em;
  font-size: 0.9em;
  font-style: italic;
}

/* ── PARTNERS ── */
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.partner-card {
  background: var(--dark);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  aspect-ratio: 4 / 3;
}

.partner-card:first-child .partner-img {
  object-fit: contain;
  background: #000000;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(245, 159, 11, 0.4);
}

.partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── MISC ── */
.about-us {
  max-width: 85ch;
  width: 90%;
  margin: 0 auto;
  text-indent: 1.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: clamp(1.5em, 2vw, 1.6em);
  padding: 6vw;
}

.posing,
.logo2,
.logo3,
.drawing {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  overflow-y: auto;
}

.posing,
.drawing {
  background: #333;
  max-width: 75vh;
  max-height: 75vh;
}

.logo2 {
  max-width: 100vh;
  max-height: 60vh;
}

.logo3 {
  max-width: 80vh;
  max-height: 100vh;
}

.Contacting {
  border-radius: 20px;
  padding: 4rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* ── FOOTER ── */
footer {
  background: var(--dark-2);
  border-top: 2px solid var(--accent);
  padding: 2.5rem 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  height: 3.5em;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text);
}

.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact p {
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: var(--text);
}

/* ── MOBILE ── */
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
  }

  body {
    background-image: none;
  }

  .button-text {
    display: none;
  }

  .txt-btn-grp {
    flex: unset;
    margin-left: 0;
  }

  .logo {
    height: 3em;
  }

  .txt-btn-grp {
    flex-direction: column;
    margin-left: 0;
    white-space: normal;
    gap: 6px;
    text-align: center;
  }

  .txt-btn-grp p {
    display: none;
  }


  .button-text {
    font-size: 0.8rem;
    white-space: normal;
  }

  .appointment-btn {
    width: 100%;
    max-width: 280px;
    font-size: 0.9em;
    padding: 0.5em 1em;
  }

  .block {
    margin: 2rem 1rem;
    padding: 2rem 1.2rem;
    font-size: clamp(1em, 4vw, 1.4em);
    box-shadow: 0 0 25px 1.5px rgba(245,159,11,0.5);
  }

  .block7,
  .other-services {
    flex-direction: column;
    padding: 0;
  }

  .block7 {
    align-items: stretch;
  }

  .testimonial {
    column-count: 1;
  }

  .posing,
  .drawing,
  .logo2,
  .logo3 {
    max-height: 32vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .posing img,
  .drawing img,
  .logo2 img,
  .logo3 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .drawing {
    width: 80%;
    max-width: 300px;
    height: auto;
    margin: 2rem auto 0 auto;
    display: block;
  }

  .about-us {
    width: 100%;
    padding: 1.5rem;
  }

  .Contacting {
    padding: 2rem 1.5rem;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}