/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.roof-info-section {
  width: 100%;
  padding: 30px 0px;
  background: #ffffff;
  box-sizing: border-box;
}

.roof-info-section * {
  box-sizing: border-box;
}

.roof-info-card {
  
  margin: 0 auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 50px 30px;
  border: 1px solid #e5e8ec;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.roof-info-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.roof-info-heading h2 {
  margin: 0 0 10px;
  color: #061833;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 800;
  text-transform: uppercase;
}

.roof-info-heading p {
  margin: 0;
  max-width: 680px;
  color: #222f3d;
  font-size: 16px;
  line-height: 1.55;
}

.roof-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
}

.roof-info-item {
  display: grid;
  grid-template-columns: 46px 1fr 92px;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #eef1f4;
}

.roof-info-icon {
  width: 60px;
  height: 60px;
  color: #78b843;
  display: flex;
  align-items: center;
  justify-content: center;
}

.roof-info-icon svg {
  width: 48px;
  height: 48px;
  stroke: currentColor;
}

.roof-info-text h3 {
  margin: 0 0 5px;
  color: #061833;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
}

.roof-info-text p {
  margin: 0;
  color: #26323f;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.roof-info-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #f0f2f4;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.16);
  justify-self: end;
}

.roof-info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.roof-info-cta {
  margin-top: 28px;
  background: #061833;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.roof-info-cta-icon {
  width: 48px;
  height: 48px;
  border: 2px solid #78b843;
  border-radius: 50%;
  color: #78b843;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.roof-info-cta-icon svg {
  width: 29px;
  height: 29px;
  stroke: currentColor;
}

.roof-info-cta p {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
}

/* Tablet */
@media (max-width: 899px) {
  .roof-info-card {
    max-width: 520px;
    padding: 24px 18px;
  }

  .roof-info-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .roof-info-section {
    padding: 18px 10px;
  }

  .roof-info-card {
    padding: 38px 14px;
    border-radius: 14px;
  }

  .roof-info-header {
    gap: 11px;
    margin-bottom: 18px;
  }

  .roof-info-heading h2 {
    font-size: 22px;
    line-height: 1.08;
    margin-bottom: 8px;
    text-align: center;
    font-weight: 600;
  }

  .roof-info-heading p {
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
  }

  .roof-info-item {
    grid-template-columns: 34px 1fr 74px;
    gap: 9px;
    padding: 12px 0;
    align-items: center;
  }

  .roof-info-icon {
    width: 40px;
    height: 40px;
  }

  .roof-info-icon svg {
    width: 36px;
    height: 36px;
  }

  .roof-info-text h3 {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .roof-info-text p {
    font-size: 14px;
    line-height: 1.35;
  }

  .roof-info-image {
    width: 70px;
    height: 70px;
    border-width: 2px;
  }

  .roof-info-cta {
    margin-top: 16px;
    padding: 14px 13px;
    border-radius: 9px;
    gap: 11px;
  }

  .roof-info-cta-icon {
    width: 38px;
    height: 38px;
  }

  .roof-info-cta-icon svg {
    width: 23px;
    height: 23px;
  }

  .roof-info-cta p {
    font-size: 12.5px;
    line-height: 1.35;
  }
}
