/* ============================================
   ROOFTA — Static Clone Stylesheet
   Fonts: Mulish (headings) + Inter (body)
   Primary Accent: #E71D27 (Red)
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #696969;
  --color-secondary: #27282A;
  --color-accent: #E71D27;
  --color-white: #FFFFFF;
  --color-light-bg: #F2F6F9;
  --color-black: #010101;
  --color-gray: #8B8B8B;
  --color-border: #DCDCDE;
  --color-white-20: rgba(255, 255, 255, 0.17);

  --font-heading: "Mulish", sans-serif;
  --font-body: "Inter", sans-serif;

  --container-max: 1140px;
  --section-padding: 80px 0;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-primary);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-secondary);
  line-height: 1.1;
}

h1 { font-size: 72px; letter-spacing: -2px; line-height: 1em; }
h2 { font-size: 48px; letter-spacing: -2px; line-height: 1.1em; }
h3 { font-size: 36px; letter-spacing: -1px; line-height: 1.2em; }
h4 { font-size: 24px; font-weight: 600; line-height: 1.3em; }
h5 { font-size: 18px; line-height: 1.4em; }
h6 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

p {
  line-height: 1.6;
  color: var(--color-primary);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 40px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: #c4192e;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(231, 29, 39, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

.btn-sm {
  padding: 10px 28px;
  font-size: 14px;
}

.btn-lg {
  padding: 20px 50px;
  font-size: 18px;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-white);
  transition: background 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
}

.header__logo img {
  height: 36px;
  width: auto;
}

.header__nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__nav a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-secondary);
  padding: 28px 0;
  display: inline-block;
  position: relative;
  transition: color 0.3s;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--color-accent);
}

.header__nav .has-dropdown {
  position: relative;
}

.header__nav .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
}

.header__nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.header__nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header__nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
}

.header__nav .dropdown a:hover {
  background: var(--color-light-bg);
}

.header__right .btn {
  white-space: nowrap;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  transition: all 0.3s;
}

/* ---------- HERO ---------- */
.hero {
  background-color: var(--color-light-bg);
  overflow: hidden;
  padding: 0;
}

.hero .container {
  display: flex;
  align-items: center;
  min-height: 650px;
}

.hero__content {
  flex: 1;
  padding: 60px 40px 60px 0;
  background: var(--color-light-bg);
  animation: fadeInLeft 0.8s ease both;
}

.hero__subtitle {
  color: var(--color-accent);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero__title {
  color: var(--color-secondary);
  margin-bottom: 24px;
}

.hero__text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__image {
  flex: 1;
  position: relative;
  animation: fadeInRight 0.8s ease both;
}

.hero__image img {
  width: 100%;
  max-width: 51vw;
  height: 650px;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: url(images/mask.png);
  mask-image: url(images/mask.png);
  -webkit-mask-size: cover;
  mask-size: cover;
  -webkit-mask-position: bottom left;
  mask-position: bottom left;
}

/* ---------- SERVICES CARDS (3-up) ---------- */
.services-cards {
  padding: 16px 0 80px;
}

.services-cards .container {
  margin-top: -112px;
  position: relative;
  z-index: 10;
}

.services-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-white);
  border-radius: 3px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  padding: 32px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

.service-card__icon {
  font-size: 40px;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.service-card__title {
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  padding: var(--section-padding);
}

.stats-section .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.stats__content {
  flex: 1;
}

.stats__title {
  margin-bottom: 16px;
}

.stats__text {
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.6;
}

.stats__numbers {
  display: flex;
  gap: 40px;
  background: var(--color-secondary);
  border-radius: 3px;
  padding: 32px 40px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.stat-item__label {
  font-size: 14px;
  color: var(--color-gray);
  margin-top: 4px;
}

.stats__image {
  flex: 1;
}

.stats__image img {
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
}

/* ---------- TRUSTED LOGOS ---------- */
.trusted {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-black) 100%);
}

.trusted .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.trusted__content {
  flex: 1;
}

.trusted__title {
  color: var(--color-white);
}

.trusted__text {
  color: var(--color-gray);
  margin-top: 16px;
  font-size: 16px;
}

.trusted__logos {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  justify-content: center;
}

.trusted__logos img {
  height: 50px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%) brightness(2);
  transition: opacity 0.3s;
}

.trusted__logos img:hover {
  opacity: 1;
}

/* ---------- SERVICES GRID (6 CTA cards) ---------- */
.services-grid {
  padding: var(--section-padding);
}

.services-grid__header {
  text-align: center;
  margin-bottom: 48px;
}

.services-grid__header h6 {
  color: var(--color-accent);
  margin-bottom: 12px;
}

.services-grid__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cta-card {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  height: 380px;
  cursor: pointer;
}

.cta-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.cta-card:hover .cta-card__bg {
  transform: scale(1.08);
}

.cta-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s;
}

.cta-card:hover .cta-card__overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}

.cta-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.cta-card:hover .cta-card__content {
  transform: translateY(0);
}

.cta-card__title {
  color: var(--color-white);
  margin-bottom: 10px;
}

.cta-card__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-card:hover .cta-card__desc {
  opacity: 1;
}

.cta-card__link {
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s;
}

.cta-card:hover .cta-card__link {
  opacity: 1;
}

.cta-card__link::after {
  content: '\2192';
}

/* ---------- PROFESSIONAL SECTION ---------- */
.professional {
  padding: var(--section-padding);
  background-color: var(--color-light-bg);
  overflow: hidden;
}

.professional .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.professional__content h2 {
  margin-bottom: 16px;
}

.professional__content p {
  margin-bottom: 24px;
  font-size: 16px;
}

.professional__image {
  text-align: center;
}

.professional__image img {
  max-height: 500px;
  width: auto;
  margin: 0 auto;
}

.professional__stats {
  text-align: center;
}

.professional__counter .stat-item__number {
  color: var(--color-secondary);
  font-size: 64px;
}

.professional__counter .stat-item__label {
  color: var(--color-primary);
}

.professional__rating {
  margin-top: 16px;
}

.stars {
  color: #FFB800;
  font-size: 20px;
  letter-spacing: 4px;
}

.rating-text {
  font-size: 14px;
  color: var(--color-primary);
  margin-top: 4px;
}

.professional__review {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- WHY CHOOSE US ---------- */
.why-choose {
  padding: 100px 0;
  background-color: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(images/builder-roof.jpg) center/cover no-repeat;
  opacity: 0.08;
}

.why-choose .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.why-choose__header h6 {
  color: var(--color-accent);
  margin-bottom: 12px;
}

.why-choose__header h2 {
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto 16px;
}

.why-choose__header p {
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 48px;
}

.why-choose__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.why-card {
  display: flex;
  gap: 20px;
  text-align: left;
  padding: 24px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.why-card__icon {
  font-size: 36px;
  color: var(--color-accent);
  flex-shrink: 0;
}

.why-card__title {
  color: var(--color-white);
  margin-bottom: 8px;
}

.why-card__text {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: var(--section-padding);
  background: var(--color-light-bg);
}

.testimonials .container {
  display: flex;
  align-items: stretch;
  gap: 60px;
}

.testimonials__image {
  flex: 1;
}

.testimonials__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}

.testimonials__slider {
  flex: 1;
  position: relative;
  background: var(--color-white);
  border-radius: 3px;
  padding: 48px;
}

.testimonials__quote-icon {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 64px;
  color: var(--color-accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.testimonial__text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-primary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial__footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial__name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-secondary);
  font-size: 16px;
}

.testimonial__role {
  font-size: 13px;
  color: var(--color-gray);
}

.testimonials__dots {
  display: flex;
  gap: 8px;
  margin-top: 24px;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background 0.3s;
  border: none;
}

.testimonials__dot.active {
  background: var(--color-accent);
}

/* ---------- FAQ + CONTACT ---------- */
.faq-contact {
  padding: var(--section-padding);
}

.faq-contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.faq__title {
  margin-bottom: 8px;
}

.faq__divider {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-bottom: 32px;
}

.accordion-item {
  border-bottom: 1px solid var(--color-border);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-secondary);
  text-align: left;
  transition: color 0.3s;
}

.accordion-header:hover {
  color: var(--color-accent);
}

.accordion-icon {
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-body {
  max-height: 200px;
}

.accordion-body p {
  padding: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
}

/* Contact sidebar */
.contact-sidebar {}

.contact-cta {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-black) 100%);
  border-radius: 3px;
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.contact-cta__icon {
  font-size: 32px;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.contact-cta h6 {
  color: var(--color-white);
  margin-bottom: 6px;
}

.contact-cta p {
  color: var(--color-gray);
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-cta .btn {
  width: 100%;
}

.contact-form-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 32px;
}

.contact-form-box h4 {
  margin-bottom: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  flex: 1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-secondary);
  transition: border-color 0.3s;
  outline: none;
  background: var(--color-white);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-accent);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-box .btn {
  width: 100%;
}

/* ---------- VIDEO CTA ---------- */
.video-cta {
  padding: 120px 0;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.video-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url(images/roofer-tiles.jpg) center/cover no-repeat;
  opacity: 0.15;
}

.video-cta .container {
  position: relative;
  z-index: 2;
}

.video-cta h2 {
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto 16px;
}

.video-cta p {
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto 40px;
}

.play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  position: relative;
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(231, 29, 39, 0.4);
  animation: pulse-ring 2s infinite;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 40px rgba(231, 29, 39, 0.4);
}

/* ---------- FOOTER ---------- */
.footer {
  background: linear-gradient(180deg, var(--color-secondary) 0%, var(--color-black) 100%);
  color: var(--color-white);
}

/* Newsletter */
.footer__newsletter {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__newsletter h3 {
  color: var(--color-white);
  max-width: 500px;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 500px;
}

.newsletter-form input {
  flex: 2;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  border-radius: 3px 0 0 3px;
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--color-gray);
}

.newsletter-form button {
  flex: 1;
  padding: 14px 24px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 0 3px 3px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: #c4192e;
}

/* Footer columns */
.footer__columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 60px 0;
}

.footer__about p {
  color: var(--color-gray);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer__about img {
  height: 30px;
  margin-bottom: 0;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 14px;
  transition: all 0.3s;
}

.footer__social a:hover {
  background: var(--color-accent);
  transform: scale(1.15);
}

.footer__col h4 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: 18px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a,
.footer__col ul li span {
  color: var(--color-gray);
  font-size: 14px;
  transition: color 0.3s;
}

.footer__col ul li a:hover {
  color: var(--color-white);
}

.footer__col .contact-icon {
  margin-right: 8px;
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  color: var(--color-gray);
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: var(--color-gray);
  font-size: 13px;
}

.footer__legal a:hover {
  color: var(--color-white);
}

/* ---------- Animations ---------- */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes bounceInUp {
  0% { opacity: 0; transform: translateY(60px); }
  60% { transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.from-left {
  transform: translateX(-40px);
}

.animate-on-scroll.from-left.visible {
  transform: translateX(0);
}

.animate-on-scroll.from-right {
  transform: translateX(40px);
}

.animate-on-scroll.from-right.visible {
  transform: translateX(0);
}

.animate-on-scroll.zoom {
  transform: scale(0.9);
}

.animate-on-scroll.zoom.visible {
  transform: scale(1);
}

/* Staggered delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-600 { transition-delay: 0.6s; }
.delay-800 { transition-delay: 0.8s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  h1 { font-size: 52px; }
  h2 { font-size: 38px; }
  h3 { font-size: 30px; }

  .hero .container {
    flex-direction: column;
    min-height: auto;
  }

  .hero__content {
    padding: 60px 0 40px;
  }

  .hero__image img {
    max-width: 100%;
    height: 400px;
    -webkit-mask-image: none;
    mask-image: none;
    border-radius: 3px;
  }

  .services-cards .container {
    margin-top: 0;
  }

  .services-cards__grid {
    grid-template-columns: 1fr;
  }

  .stats-section .container,
  .trusted .container,
  .testimonials .container {
    flex-direction: column;
  }

  .services-grid__cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .professional .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .why-choose__grid {
    grid-template-columns: 1fr;
  }

  .faq-contact .container {
    grid-template-columns: 1fr;
  }

  .footer__columns {
    grid-template-columns: 1fr 1fr;
  }

  .header__nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .header__nav.open {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }

  .header__nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  .header__nav.open a {
    padding: 12px 0;
    display: block;
  }

  .header__nav .dropdown {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding-left: 20px;
  }

  .header__right {
    display: none;
  }
}

@media (max-width: 767px) {
  h1 { font-size: 40px; letter-spacing: -1px; }
  h2 { font-size: 30px; letter-spacing: -1px; }
  h3 { font-size: 24px; }
  h4 { font-size: 20px; }

  :root {
    --section-padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .services-grid__cards {
    grid-template-columns: 1fr;
  }

  .stats__numbers {
    flex-direction: column;
    gap: 24px;
  }

  .form-row {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: 3px;
  }

  .newsletter-form button {
    border-radius: 3px;
  }

  .footer__columns {
    grid-template-columns: 1fr;
  }

  .footer__bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-card {
    height: 300px;
  }

  .trusted__logos img {
    height: 35px;
  }
}
