/* ===== TABLET: 761px TO 1024px ===== */
@media screen and (min-width: 761px) and (max-width: 1024px) {
  .container {
    max-width: 94%;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 18px 4% 24px;
    background-color: #ffffff;
    box-shadow: 0 14px 25px rgba(8, 46, 55, 0.13);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.nav-cta) {
    padding: 13px 4px;
  }

  .nav-cta {
    justify-content: space-between;
    margin: 12px 0 0;
  }

  .nav-wrap {
    height: 82px;
  }

  .brand img {
    width: 56px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 43px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background-color: #082e37;
  }

  .menu-toggle i {
    display: block;
    width: 19px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.2s ease;
  }

  .menu-toggle.open i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 42px 30px;
  }

  .footer-navigation {
    grid-column: 1 / 3;
    grid-template-columns: 1fr 1fr;
  }

  .solar-slider {
    height: 500px;
  }

  .slide-content {
    padding-top: 125px;
  }

  .slide-title {
    max-width: 620px;
    padding: 20px 25px 22px;
    font-size: 44px;
  }

  .services-grid {
    display: block;
  }

  .service-card {
    grid-template-columns: 80px 250px 1fr;
    padding: 25px;
  }

  .why-content {
    min-height: 470px;
    padding: 50px 48px;
  }

  .why-content h2 {
    font-size: 44px;
  }

  .why-image {
    height: 520px;
  }

  .features-heading {
    gap: 45px;
  }

  .features-heading h2 {
    font-size: 48px;
  }

  .features-layout {
    grid-template-columns: 36% 64%;
  }

  .feature-item {
    gap: 14px;
    padding: 27px 20px;
  }

  .clients-wall {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .experience-image {
    height: 480px;
  }

  .experience-image::after {
    height: 480px;
  }

  .experience-card {
    right: 32px;
    width: 500px;
    padding: 40px;
  }

  .numbers-intro {
    padding: 45px 38px;
  }

  .numbers-intro h2 {
    font-size: 43px;
  }

  .number-stat {
    min-height: 205px;
    padding: 27px;
  }

  .number-stat.main-stat {
    min-height: 410px;
  }

  /* featured projects */
  .project-card {
    width: 51%;
    min-height: 260px;
    padding: 34px;
  }

  .project-card h3 {
    font-size: 30px;
  }

  /* testimonials */
  .testimonials-heading {
    padding: 38px 30px;
  }

  .testimonials-heading h2 {
    font-size: 35px;
  }

  .testimonials-slider {
    padding: 45px 45px 35px;
  }

  .testimonial-status {
    padding-left: 45px;
  }

  .testimonial-slide blockquote {
    font-size: 24px;
  }

  /* about us hero */
  .about-hero-copy {
    padding: 45px;
  }

  .about-hero-copy h1 {
    font-size: 42px;
  }

  /* who we are */
  .who-we-are-section {
    padding: 85px 0;
  }

  .who-we-are-image {
    height: 455px;
  }

  .who-we-are-content {
    padding: 45px;
  }

  .who-we-are-content h2 {
    font-size: 40px;
  }

  /* mission and vision */
  .mission-vision-section {
    padding: 80px 0;
  }

  .mission-vision-heading p {
    font-size: 39px;
  }

  .mission-card,
  .vision-card {
    min-height: 295px;
    padding: 38px 35px;
  }

  /* about clients */
  .about-clients-section {
    padding: 85px 0;
  }

  .about-client-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .about-client-gallery > div {
    height: 130px;
  }

  /* services hero */
  .services-hero {
    padding: 55px 0;
  }

  .services-hero-content {
    padding: 50px 42px;
  }

  .services-hero-content h1 {
    font-size: 42px;
  }

  /* solar panel services */
  .solar-panel-services-section {
    padding: 85px 0;
  }

  .solar-services-statement {
    min-height: 420px;
    padding: 40px 30px;
  }

  .solar-services-statement h2 {
    font-size: 36px;
  }

  .solar-services-content {
    padding-left: 45px;
  }

  .solar-services-content > h2 {
    font-size: 41px;
  }

  .solar-service-list article {
    padding: 20px 16px;
  }

  /* quote form */
  .quote-section {
    padding: 85px 0;
  }

  .quote-heading {
    padding: 42px 32px;
  }

  .quote-heading h2 {
    font-size: 32px;
  }

  .quote-form-panel {
    padding: 34px;
  }

  /* products hero */
  .products-hero {
    padding: 55px 0;
  }

  .products-hero-copy {
    padding: 50px 42px;
  }

  .products-hero-copy h1 {
    font-size: 54px;
  }

  /* product showcase */
  .products-showcase-section {
    padding: 85px 0;
  }

  .product-showcase-card {
    grid-template-columns: 39% 61%;
  }

  .product-showcase-copy {
    padding: 32px 25px;
  }

  /* projects hero */
  .contact-hero {
    padding: 42px 0;
  }

  .contact-hero-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    min-height: 285px;
    padding: 42px 25px;
  }

  .contact-hero-copy::before {
    top: auto;
    right: 0;
    bottom: -37px;
    width: 100%;
    height: 74px;
    transform: skewY(-5deg);
  }

  .contact-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -1.8px;
  }

  .contact-hero-visual {
    min-height: 255px;
  }

  /* contact form */
  .contact-section {
    padding: 65px 0 72px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-form-panel {
    padding: 28px 22px;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-detail-block {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .contact-detail-icon {
    width: 45px;
    height: 45px;
  }

  /* contact map */
  .contact-map-section {
    padding-bottom: 65px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 510px;
    height: 510px;
  }

  .contact-map-card {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    max-width: none;
    padding: 21px 20px;
  }

  .contact-map-card p {
    margin: 13px 0 17px;
  }

  /* projects hero */
  .projects-hero {
    padding: 55px 0;
  }

  .projects-hero-copy {
    padding: 50px 42px;
  }

  .projects-hero-copy h1 {
    font-size: 52px;
  }

  /* projects gallery */
  .projects-gallery-section {
    padding: 85px 0;
  }

  .projects-gallery {
    grid-template-columns: 1fr 1fr;
  }

  /* about achievements */
  .achievement-card {
    min-height: 190px;
    padding: 34px 22px 27px;
  }

  .achievement-card strong {
    font-size: 43px;
  }
}

/* ===== COMPACT LAPTOP: 1025px TO 1180px ===== */
@media screen and (min-width: 1025px) and (max-width: 1180px) {
  .container {
    max-width: 94%;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 98px;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 18px 3% 24px;
    background-color: #ffffff;
    box-shadow: 0 14px 25px rgba(8, 46, 55, 0.13);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.nav-cta) {
    padding: 13px 4px;
  }

  .nav-cta {
    justify-content: space-between;
    margin: 12px 0 0;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 43px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background-color: #082e37;
  }

  .menu-toggle i {
    display: block;
    width: 19px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.2s ease;
  }

  .menu-toggle.open i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ===== MOBILE: UP TO 760px ===== */
@media screen and (max-width: 760px) {
  .container {
    max-width: 90%;
  }

  .nav-wrap {
    height: 72px;
  }

  .brand img {
    width: 45px;
    height: 43px;
  }

  .brand-copy {
    gap: 2px;
    padding-left: 9px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy small {
    font-size: 7px;
    letter-spacing: 0.7px;
  }

  /* hamburger button */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 43px;
    margin-left: auto;
    padding: 0;
    background-color: #082e37;
    border: 0;
  }

  .menu-toggle i {
    display: block;
    width: 19px;
    height: 2px;
    background-color: #ffffff;
    transition: 0.2s ease;
  }

  .menu-toggle.open i:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.open i:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open i:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* hidden menu that opens after clicking hamburger */
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    width: 100%;
    margin: 0;
    padding: 18px 5% 24px;
    background-color: #ffffff;
    box-shadow: 0 14px 25px rgba(8, 46, 55, 0.13);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a:not(.nav-cta) {
    padding: 13px 4px;
  }

  .nav-cta {
    justify-content: space-between;
    margin: 12px 0 0;
  }

  /* home slider */
  .solar-slider {
    height: 440px;
  }

  .slide-overlay {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .slide-content {
    padding-top: 94px;
  }

  .slide-eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .slide-title {
    max-width: 100%;
    gap: 4px;
    padding: 16px 18px 18px;
    border-left-width: 5px;
    font-size: 34px;
    line-height: 1.12;
    letter-spacing: -1.2px;
  }

  .slide-description {
    max-width: 310px;
    margin: 18px 0 24px;
    font-size: 15px;
  }

  .slider-bottom {
    bottom: 24px;
    max-width: 90%;
  }

  .slider-arrows button {
    width: 39px;
    height: 39px;
  }

  .slider-dots {
    margin-left: 17px;
  }

  .slider-dots button {
    width: 20px;
  }

  /* footer */
  .footer-top {
    padding: 52px 0 42px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-about {
    padding: 0;
  }

  .footer-navigation {
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding: 26px 20px;
  }

  .footer-about p {
    max-width: 100%;
    margin: 17px 0;
  }

  .footer-links h3,
  .footer-contact h3 {
    margin-top: 0;
    margin-bottom: 17px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
  }

  /* services section */
  .services-section {
    padding: 65px 0;
  }

  .services-heading {
    margin-bottom: 25px;
  }

  .services-grid {
    display: block;
  }

  .service-card {
    display: block;
    min-height: 0;
    padding: 28px 24px 30px;
  }

  .service-number {
    width: 42px;
    height: 42px;
    margin-bottom: 22px;
  }

  .service-card h2 {
    margin-bottom: 14px;
    padding-right: 0;
    font-size: 22px;
  }

  .service-card p {
    padding-left: 0;
    border-left: 0;
  }

  /* why choose AFM */
  .why-section {
    padding: 65px 0;
  }

  .why-layout {
    display: flex;
    flex-direction: column;
  }

  .why-content {
    width: 100%;
    min-height: 0;
    padding: 40px 25px;
    box-shadow: 10px 10px 0 #cfe93c;
  }

  .why-label {
    margin-bottom: 18px;
  }

  .why-content h2 {
    margin-bottom: 24px;
    font-size: 38px;
  }

  .why-copy p {
    font-size: 14px;
  }

  .why-image {
    width: 100%;
    height: 310px;
    margin: 34px 0 0;
  }

  /* key features */
  .features-section {
    padding: 65px 0;
  }

  .features-heading {
    display: block;
    margin-bottom: 30px;
  }

  .features-heading > div > p {
    margin-bottom: 10px;
  }

  .features-heading h2 {
    margin-bottom: 18px;
    font-size: 42px;
  }

  .features-heading > p {
    font-size: 14px;
  }

  .features-layout {
    display: block;
  }

  .features-image {
    height: 270px;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .feature-item,
  .feature-item:nth-child(even) {
    padding: 25px 20px;
    border-right: 0;
    border-bottom: 1px solid #d5e1d2;
  }

  .feature-item:last-child {
    border-bottom: 0;
  }

  /* esteemed clients */
  .clients-section {
    padding: 65px 0;
  }

  .clients-wall {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .client-logo {
    height: 115px;
    padding: 16px;
  }

  .client-logo img {
    height: 65px;
  }

  /* AFM experience */
  .experience-section {
    padding: 65px 0;
  }

  .experience-image,
  .experience-image::after {
    height: 300px;
  }

  .experience-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    padding: 35px 25px;
    box-shadow: 9px 9px 0 #cfe93c;
  }

  .experience-card h2 {
    font-size: 27px;
  }

  /* 2023 numbers */
  .numbers-section {
    padding: 65px 0;
  }

  .numbers-layout {
    grid-template-columns: 1fr;
  }

  .numbers-intro {
    padding: 40px 25px;
  }

  .numbers-intro h2 {
    font-size: 40px;
  }

  .numbers-intro ul {
    grid-template-columns: 1fr;
  }

  .numbers-stats {
    grid-template-columns: 1fr 1fr;
  }

  .number-stat,
  .number-stat.main-stat {
    grid-row: auto;
    min-height: 170px;
    padding: 25px;
  }

  .number-stat.main-stat {
    grid-column: 1 / 3;
  }

  .number-stat strong,
  .number-stat.main-stat strong {
    font-size: 51px;
  }

  /* featured projects */
  .projects-section {
    padding: 65px 0;
  }

  .projects-heading {
    align-items: flex-start;
    margin-bottom: 25px;
  }

  .projects-heading > p {
    position: static;
    margin: 0 0 9px;
  }

  .projects-heading h2 {
    position: absolute;
    margin-top: 23px;
    font-size: 37px;
    letter-spacing: -1.4px;
  }

  .projects-controls {
    margin-left: auto;
  }

  .projects-controls button {
    width: 42px;
    height: 42px;
  }

  .projects-slider,
  .project-slide,
  .project-slide > img {
    min-height: 495px;
    height: 495px;
  }

  .project-slide > img {
    object-position: center;
  }

  .project-card {
    right: 15px;
    bottom: 15px;
    width: auto;
    min-height: 0;
    padding: 26px 23px;
    left: 15px;
  }

  .project-card p {
    margin-bottom: 12px;
  }

  .project-card h3 {
    font-size: 27px;
    letter-spacing: -0.6px;
  }

  .project-card span {
    margin-top: 14px;
    font-size: 14px;
  }

  /* testimonials */
  .testimonials-section {
    padding: 65px 0;
  }

  .testimonials-layout {
    display: block;
  }

  .testimonials-heading {
    padding: 34px 25px;
  }

  .testimonials-heading h2 {
    margin: 42px 0 32px;
    font-size: 35px;
  }

  .testimonials-slider {
    min-height: 370px;
    padding: 32px 25px 26px;
  }

  .testimonial-slide {
    min-height: 285px;
    padding-right: 0;
  }

  .testimonial-mark {
    height: 52px;
    font-size: 82px;
  }

  .testimonial-slide blockquote {
    margin: 14px 0 25px;
    font-size: 20px;
    line-height: 1.36;
  }

  .testimonial-status {
    grid-column: auto;
    padding: 15px 25px 22px;
  }

  .testimonial-dots {
    gap: 5px;
    margin-left: 10px;
  }

  .testimonial-dots button {
    width: 17px;
  }

  /* about us hero */
  .about-hero {
    padding: 42px 0;
  }

  .about-hero-layout {
    grid-template-columns: 1fr;
  }

  .about-hero-copy {
    min-height: 320px;
    padding: 42px 25px;
  }

  .about-hero-copy h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }

  .about-hero-copy > div {
    margin: 24px 0;
  }

  .about-hero-image,
  .about-hero-image img {
    min-height: 260px;
    height: 260px;
  }

  /* who we are */
  .who-we-are-section {
    padding: 65px 0;
  }

  .who-we-are-layout {
    grid-template-columns: 1fr;
  }

  .who-we-are-image {
    height: 340px;
    margin-right: 18px;
  }

  .who-we-are-image span {
    right: -18px;
    bottom: 18px;
    padding: 13px 16px;
    font-size: 11px;
  }

  .who-we-are-content {
    margin: 0;
    padding: 42px 25px;
  }

  .who-we-are-content h2 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }

  .who-we-are-content h2 span {
    font-size: 26px;
  }

  .who-we-are-content > p:not(:first-child) {
    font-size: 15px;
  }

  /* about achievements */
  .about-achievements-section {
    padding: 65px 0;
  }

  .about-achievements-grid {
    grid-template-columns: 1fr 1fr;
  }

  .achievement-card {
    min-height: 174px;
    padding: 28px 22px 24px;
    border-right: 1px solid #dce8dd;
    border-bottom: 1px solid #dce8dd;
  }

  .achievement-card:nth-child(even) {
    border-right: 0;
  }

  .achievement-card:nth-child(n + 3) {
    border-bottom: 0;
  }

  .achievement-card::before {
    margin-bottom: 23px;
  }

  .achievement-card strong {
    font-size: 39px;
  }

  .achievement-card span {
    font-size: 15px;
  }

  /* mission and vision */
  .mission-vision-section {
    padding: 65px 0;
  }

  .mission-vision-heading {
    display: block;
    padding-bottom: 28px;
  }

  .mission-vision-heading img {
    width: 72px;
  }

  .mission-vision-heading p {
    margin-top: 25px;
    font-size: 35px;
    letter-spacing: -1.3px;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }

  .mission-card,
  .vision-card {
    min-height: 0;
    padding: 31px 25px 35px;
  }

  .mission-number {
    margin-bottom: 36px;
  }

  .mission-card h2,
  .vision-card h2 {
    font-size: 29px;
  }

  .mission-card p,
  .vision-card p {
    font-size: 15px;
  }

  /* about clients */
  .about-clients-section {
    padding: 65px 0;
  }

  .about-clients-intro {
    display: block;
    margin-bottom: 32px;
  }

  .about-clients-intro h2 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .about-clients-intro p {
    margin-top: 20px;
    font-size: 15px;
  }

  .about-client-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .about-client-gallery > div {
    height: 112px;
    padding: 18px;
  }

  .about-client-gallery img {
    max-height: 62px;
  }

  /* contact hero */
  .contact-hero {
    padding: 42px 0;
  }

  .contact-hero-layout {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy {
    min-height: 285px;
    padding: 42px 25px;
  }

  .contact-hero-copy::before {
    top: auto;
    right: 0;
    bottom: -37px;
    width: 100%;
    height: 74px;
    transform: skewY(-5deg);
  }

  .contact-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -1.8px;
  }

  .contact-hero-visual {
    min-height: 255px;
  }

  /* services hero */
  .services-hero {
    padding: 42px 0;
  }

  .services-hero-layout {
    grid-template-columns: 1fr;
  }

  .services-hero-content {
    min-height: 315px;
    padding: 42px 25px;
  }

  .services-hero-content h1 {
    font-size: 37px;
    letter-spacing: -1.3px;
  }

  .services-hero-visual {
    min-height: 260px;
  }

  /* solar panel services */
  .solar-panel-services-section {
    padding: 65px 0;
  }

  .solar-panel-services-layout {
    grid-template-columns: 1fr;
  }

  .solar-services-statement {
    position: relative;
    top: auto;
    min-height: 285px;
    padding: 32px 25px;
  }

  .solar-services-statement h2 {
    font-size: 35px;
  }

  .solar-services-content {
    padding: 42px 0 0;
  }

  .solar-services-content > h2 {
    font-size: 36px;
    letter-spacing: -1.3px;
  }

  .solar-services-description {
    margin: 24px 0 30px;
    font-size: 15px;
  }

  .solar-service-list {
    grid-template-columns: 1fr;
  }

  .solar-service-list article {
    min-height: 77px;
    padding: 17px;
  }

  /* quote form */
  .quote-section {
    padding: 65px 0;
  }

  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-heading {
    padding: 38px 25px;
  }

  .quote-heading h2 {
    font-size: 34px;
  }

  .quote-form-panel {
    padding: 32px 25px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 18px;
  }

  /* products hero */
  .products-hero {
    padding: 42px 0;
  }

  .products-hero-layout {
    grid-template-columns: 1fr;
  }

  .products-hero-copy {
    min-height: 285px;
    padding: 42px 25px;
  }

  .products-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -1.8px;
  }

  .products-hero-image {
    min-height: 260px;
  }

  /* product showcase */
  .products-showcase-section {
    padding: 65px 0;
  }

  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-showcase-card {
    grid-template-columns: 1fr;
  }

  .product-showcase-image {
    min-height: 225px;
  }

  .product-showcase-copy {
    padding: 30px 25px;
  }

  .product-showcase-copy h3 {
    font-size: 29px;
  }

  /* projects hero */
  .projects-hero {
    padding: 42px 0;
  }

  .projects-hero-layout {
    grid-template-columns: 1fr;
  }

  .projects-hero-visual {
    min-height: 255px;
  }

  .projects-hero-copy {
    min-height: 285px;
    padding: 42px 25px;
  }

  .projects-hero-copy::before {
    width: 36px;
  }

  .projects-hero-copy h1 {
    font-size: 48px;
    letter-spacing: -1.8px;
  }

  /* projects gallery */
  .projects-gallery-section {
    padding: 65px 0;
  }

  .projects-gallery-top {
    margin-bottom: 27px;
  }

  .project-filter {
    justify-content: center;
  }

  .project-filter button {
    padding: 0 12px;
  }

  .projects-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-project-card,
  .gallery-project-card img {
    min-height: 250px;
    height: 250px;
  }

  .gallery-project-card > div {
    padding: 22px;
    transform: translateY(0);
  }

  /* contact page */
  .contact-section {
    padding: 65px 0 72px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact-form-panel {
    padding: 28px 22px;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-detail-block {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  .contact-detail-icon {
    width: 45px;
    height: 45px;
  }

  .contact-map-section {
    padding-bottom: 65px;
  }

  .contact-map-frame,
  .contact-map-frame iframe {
    min-height: 510px;
    height: 510px;
  }

  .contact-map-card {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: 18px;
    width: auto;
    max-width: none;
    padding: 21px 20px;
  }

  .contact-map-card p {
    margin: 13px 0 17px;
  }

}

/* ===== SMALL PHONES: UP TO 480px ===== */
@media screen and (max-width: 480px) {
  .container {
    max-width: 92%;
  }

  .brand-copy {
    display: none;
  }

  .slide-title {
    font-size: 30px;
  }

  .why-content h2,
  .features-heading h2,
  .numbers-intro h2,
  .who-we-are-content h2,
  .mission-vision-heading p,
  .about-clients-intro h2,
  .solar-services-content > h2 {
    font-size: 33px;
  }

  .numbers-stats {
    grid-template-columns: 1fr;
  }

  .number-stat.main-stat {
    grid-column: auto;
  }

  .number-stat,
  .number-stat.main-stat {
    min-height: 150px;
  }

  .number-stat strong,
  .number-stat.main-stat strong {
    font-size: 46px;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
  }

  .contact-hero-copy h1,
  .products-hero-copy h1,
  .projects-hero-copy h1 {
    font-size: 42px;
  }

  .contact-detail-block h2 {
    font-size: 18px;
  }

  .contact-detail-block address,
  .contact-detail-block a {
    font-size: 14px;
  }
}

/* ===== MOBILE LANDSCAPE ===== */
@media screen and (max-width: 760px) and (orientation: landscape) {
  .solar-slider {
    height: 390px;
  }

  .slide-content {
    padding-top: 58px;
  }

  .slide-description {
    margin: 12px 0 17px;
  }

  .slider-bottom {
    bottom: 15px;
  }

  .about-hero-copy,
  .services-hero-content,
  .products-hero-copy,
  .projects-hero-copy,
  .contact-hero-copy {
    min-height: 245px;
  }

  .about-hero-image,
  .about-hero-image img,
  .services-hero-visual,
  .products-hero-image,
  .projects-hero-visual,
  .contact-hero-visual {
    min-height: 215px;
    height: 215px;
  }
}
