/* Optimal Roofing Core — segue o visual atual do site (Source Serif Pro, azul #103144 / #044C77, cinzas). */

/* Formulários de orçamento (Contact Form 7) — mesmo aspecto do formulário antigo */
.or-form { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .or-form { grid-template-columns: 1fr 1fr; } .or-field--full { grid-column: 1 / -1; } }
.or-field { margin: 0 0 14px; }
.or-field label { display: block; color: #044C77; font-weight: 600; font-size: 15px; }
.or-field small { color: #333; font-weight: 400; }
.wpcf7 .or-form input[type="text"],
.wpcf7 .or-form input[type="email"],
.wpcf7 .or-form input[type="tel"],
.wpcf7 .or-form select,
.wpcf7 .or-form textarea {
	width: 100%; margin-top: 6px; min-height: 46px; padding: 8px 12px;
	font-size: 16px; /* evita zoom automático no iPhone */
	font-family: inherit; color: #2b2b2b; background: #fff; border: 1px solid #fff; border-radius: 0;
}
.wpcf7 .or-form textarea { min-height: 110px; resize: vertical; }
.wpcf7 .or-form input[type="file"] { margin-top: 6px; max-width: 100%; font-size: 15px; }
.wpcf7 .or-form .wpcf7-submit {
	width: 100%; min-height: 50px; padding: 12px 20px; border: 0; border-radius: 3px; cursor: pointer;
	background: #044C77; color: #fff; font-family: inherit; font-size: 17px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
}
.wpcf7 .or-form .wpcf7-submit:hover { background: #103144; }
.wpcf7 .wpcf7-not-valid-tip { font-size: 14px; }
.wpcf7 form .wpcf7-response-output { margin: 12px 0 0; padding: 10px 12px; background: #fff; }
.or-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* Lista de projetos [or_projects] — mesmo estilo dos cards de imagem do site */
.or-projects { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .or-projects { grid-template-columns: repeat(3, 1fr); } }
.or-project-card { background: #fff; padding: 0 0 20px; text-align: center; }
.or-projects .or-project-card__media img,
.or-projects .or-project-photo img { width: 100%; height: 260px; object-fit: cover; display: block; }
.or-project-photo { margin: 0; }
.or-project-card__title { margin: 16px 16px 6px; font-size: 22px; }
.or-project-card__title a { color: inherit; text-decoration: none; }
.or-project-card p { margin: 0 16px 12px; }
.or-project-card__btn { display: inline-block; padding: 10px 22px; background: #044C77; color: #fff !important; font-weight: 700; text-transform: uppercase; text-decoration: none; border-radius: 3px; }
.or-project-card__btn:hover { background: #103144; }

/* Barra fixa no celular: CALL NOW / FREE ESTIMATE */
.or-mobilebar { display: none; }
@media (max-width: 767px) {
	.or-mobilebar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999;
		display: grid; grid-template-columns: 1fr 1fr; height: 58px;
		padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -3px 12px rgba(0,0,0,.2);
	}
	.or-mobilebar a {
		display: flex; align-items: center; justify-content: center;
		color: #fff !important; text-decoration: none; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .03em;
	}
	.or-mobilebar__call { background: #103144; }
	.or-mobilebar__estimate { background: #044C77; border-left: 1px solid rgba(255,255,255,.25); }
	body { padding-bottom: 58px; }
}

/* Botão "Get a Free Estimate" na barra cinza do menu: uma linha só no desktop */
@media (min-width: 1100px) {
	.or-nav-cta .elementor-button { white-space: nowrap; padding: 10px 14px; font-size: 13px; }
}
/* No celular a barra fixa de baixo já tem FREE ESTIMATE: a barra cinza fica como era. */
@media (max-width: 767px) {
	.or-nav-cta { display: none !important; }
}

/* Botão READ OUR GOOGLE REVIEWS (página Testimonials) */
.or-reviews-cta { text-align: center; padding: 30px 20px; background: #DDDDDD; }
.or-reviews-cta__btn { display: inline-block; padding: 14px 28px; background: #044C77; color: #fff !important; font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; border-radius: 3px; }
.or-reviews-cta__btn:hover { background: #103144; }
.or-reviews-cta--placeholder { border: 2px dashed #044C77; color: #103144; font-size: 15px; }
